U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Cc: Simon Glass <sjg@chromium.org>
Subject: [PATCH 20/81] core: Remove <common.h> and add needed includes
Date: Wed,  1 May 2024 19:30:37 -0600	[thread overview]
Message-ID: <20240502013138.2383421-20-trini@konsulko.com> (raw)
In-Reply-To: <20240502013138.2383421-1-trini@konsulko.com>

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
---
 drivers/core/acpi.c          | 1 -
 drivers/core/device-remove.c | 1 -
 drivers/core/device.c        | 2 +-
 drivers/core/devres.c        | 1 -
 drivers/core/dump.c          | 1 -
 drivers/core/fdtaddr.c       | 1 -
 drivers/core/lists.c         | 1 -
 drivers/core/of_access.c     | 1 -
 drivers/core/of_addr.c       | 1 -
 drivers/core/of_extra.c      | 1 -
 drivers/core/ofnode.c        | 1 -
 drivers/core/read.c          | 1 -
 drivers/core/read_extra.c    | 1 -
 drivers/core/regmap.c        | 1 -
 drivers/core/root.c          | 1 -
 drivers/core/simple-bus.c    | 1 -
 drivers/core/simple-pm-bus.c | 1 -
 drivers/core/syscon-uclass.c | 1 -
 drivers/core/uclass.c        | 1 -
 drivers/core/util.c          | 1 -
 20 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/drivers/core/acpi.c b/drivers/core/acpi.c
index 0ebd288ab420..9f7842289218 100644
--- a/drivers/core/acpi.c
+++ b/drivers/core/acpi.c
@@ -8,7 +8,6 @@
 
 #define LOG_CATEOGRY	LOGC_ACPI
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <log.h>
diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c
index a86b9325dd8d..437080ed7780 100644
--- a/drivers/core/device-remove.c
+++ b/drivers/core/device-remove.c
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY	LOGC_DM
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <malloc.h>
diff --git a/drivers/core/device.c b/drivers/core/device.c
index bf7f261cbce0..18e2bd02dd56 100644
--- a/drivers/core/device.c
+++ b/drivers/core/device.c
@@ -8,8 +8,8 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
+#include <errno.h>
 #include <event.h>
 #include <log.h>
 #include <asm/global_data.h>
diff --git a/drivers/core/devres.c b/drivers/core/devres.c
index 78914bdf7f21..8df08b91021c 100644
--- a/drivers/core/devres.c
+++ b/drivers/core/devres.c
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY LOGC_DEVRES
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <linux/compat.h>
diff --git a/drivers/core/dump.c b/drivers/core/dump.c
index 841124830ee7..5ec30d5b3c1a 100644
--- a/drivers/core/dump.c
+++ b/drivers/core/dump.c
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <mapmem.h>
diff --git a/drivers/core/fdtaddr.c b/drivers/core/fdtaddr.c
index 5f27d2511485..6be8ea0c0a9c 100644
--- a/drivers/core/fdtaddr.c
+++ b/drivers/core/fdtaddr.c
@@ -8,7 +8,6 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <log.h>
diff --git a/drivers/core/lists.c b/drivers/core/lists.c
index 8034a8f48d99..2839a9b73718 100644
--- a/drivers/core/lists.c
+++ b/drivers/core/lists.c
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_DM
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <dm/device.h>
diff --git a/drivers/core/of_access.c b/drivers/core/of_access.c
index c8db743f5298..41f2e09b9c27 100644
--- a/drivers/core/of_access.c
+++ b/drivers/core/of_access.c
@@ -19,7 +19,6 @@
  * Linux version.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/global_data.h>
diff --git a/drivers/core/of_addr.c b/drivers/core/of_addr.c
index b3b3d7ccdd56..d7913ab3d2fd 100644
--- a/drivers/core/of_addr.c
+++ b/drivers/core/of_addr.c
@@ -6,7 +6,6 @@
  * Copyright (c) 2017 Google, Inc
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/bug.h>
 #include <linux/libfdt.h>
diff --git a/drivers/core/of_extra.c b/drivers/core/of_extra.c
index 59ce9174ad07..a3ebe9e9c245 100644
--- a/drivers/core/of_extra.c
+++ b/drivers/core/of_extra.c
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/libfdt.h>
 #include <dm/of_access.h>
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index 21a233f90f0b..9a5eaaa4d134 100644
--- a/drivers/core/ofnode.c
+++ b/drivers/core/ofnode.c
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY	LOGC_DT
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <fdt_support.h>
diff --git a/drivers/core/read.c b/drivers/core/read.c
index 1a4a95cddea3..55c19f335ae1 100644
--- a/drivers/core/read.c
+++ b/drivers/core/read.c
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/of_access.h>
 #include <mapmem.h>
diff --git a/drivers/core/read_extra.c b/drivers/core/read_extra.c
index 513834882783..5a0153a46610 100644
--- a/drivers/core/read_extra.c
+++ b/drivers/core/read_extra.c
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/of_addr.h>
 #include <dm/read.h>
diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c
index dd32328098c4..7ff7834bdf08 100644
--- a/drivers/core/regmap.c
+++ b/drivers/core/regmap.c
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY	LOGC_DM
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
diff --git a/drivers/core/root.c b/drivers/core/root.c
index d4ae652bcfb1..4bfd08f48130 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_ROOT
 
-#include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <log.h>
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index 6022e7514e0e..f402bb5d6748 100644
--- a/drivers/core/simple-bus.c
+++ b/drivers/core/simple-bus.c
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SIMPLE_BUS
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <dm.h>
 #include <dm/simple_bus.h>
diff --git a/drivers/core/simple-pm-bus.c b/drivers/core/simple-pm-bus.c
index 1bb0d86e289d..f38372ec60bc 100644
--- a/drivers/core/simple-pm-bus.c
+++ b/drivers/core/simple-pm-bus.c
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 
diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c
index a47b8bd3c017..f0e69d7216b3 100644
--- a/drivers/core/syscon-uclass.c
+++ b/drivers/core/syscon-uclass.c
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SYSCON
 
-#include <common.h>
 #include <log.h>
 #include <syscon.h>
 #include <dm.h>
diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c
index e46d5717aa62..762536eebc6e 100644
--- a/drivers/core/uclass.c
+++ b/drivers/core/uclass.c
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_DM
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
diff --git a/drivers/core/util.c b/drivers/core/util.c
index 81497df85ffd..108a3bc4dac1 100644
--- a/drivers/core/util.c
+++ b/drivers/core/util.c
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <dm/device.h>
 #include <dm/ofnode.h>
 #include <dm/read.h>
-- 
2.34.1


  parent reply	other threads:[~2024-05-02  1:34 UTC|newest]

Thread overview: 136+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20240502013146epcas1p3dce70115dbffcbd41eb7f657d6188d2e@epcas1p3.samsung.com>
2024-05-02  1:30 ` [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig Tom Rini
2024-05-02  1:30   ` [PATCH 02/81] arm: aspeed: Add missing <linux/types.h> Tom Rini
2024-05-02  1:30   ` [PATCH 03/81] arm: sunxi: " Tom Rini
2024-05-02  1:30   ` [PATCH 04/81] arm: nexell: " Tom Rini
2024-05-09  8:54     ` Stefan Bosch
2024-05-02  1:30   ` [PATCH 05/81] arm: socfpga: " Tom Rini
2024-05-02  1:30   ` [PATCH 06/81] x86: " Tom Rini
2024-05-02  1:30   ` [PATCH 07/81] include: " Tom Rini
2024-05-02  1:30   ` [PATCH 08/81] fsl_ifc.h: Add <asm/ppc.h> Tom Rini
2024-05-02  1:30   ` [PATCH 09/81] include/linux/compat.h: Add <time.h> Tom Rini
2024-05-02  1:30   ` [PATCH 10/81] adc: Remove <common.h> and add needed includes Tom Rini
2024-05-02  1:30   ` [PATCH 11/81] ata: " Tom Rini
2024-05-02  3:32     ` Tony Dinh
2024-05-02  1:30   ` [PATCH 12/81] axi: " Tom Rini
2024-05-02  1:30   ` [PATCH 13/81] bios_emulator: " Tom Rini
2024-05-02  1:30   ` [PATCH 14/81] block: " Tom Rini
2024-05-02  7:25     ` Mattijs Korpershoek
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` [PATCH 15/81] bootcount: " Tom Rini
2024-05-02  1:30   ` [PATCH 16/81] bus: " Tom Rini
2024-05-02  1:30   ` [PATCH 17/81] button: " Tom Rini
2024-05-02  1:30   ` [PATCH 18/81] cache: " Tom Rini
2024-05-02  1:30   ` [PATCH 19/81] clk: " Tom Rini
2024-05-09  9:07     ` Stefan Bosch
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` Tom Rini [this message]
2024-05-02  1:30   ` [PATCH 21/81] cpu: " Tom Rini
2024-05-02  1:30   ` [PATCH 22/81] crypto: " Tom Rini
2024-05-02  1:30   ` [PATCH 23/81] ddr: " Tom Rini
2024-05-02  1:30   ` [PATCH 24/81] demo: " Tom Rini
2024-05-02  1:30   ` [PATCH 25/81] dfu: " Tom Rini
2024-05-02  7:28     ` Mattijs Korpershoek
2024-05-02 14:45       ` Tom Rini
2024-05-02  1:30   ` [PATCH 26/81] dma: " Tom Rini
2024-05-02  1:30   ` [PATCH 27/81] extcon: " Tom Rini
2024-05-02  1:30   ` [PATCH 28/81] fastboot: " Tom Rini
2024-05-02  7:29     ` Mattijs Korpershoek
2024-05-02  1:30   ` [PATCH 29/81] firmware: " Tom Rini
2024-05-07  7:37     ` Ilias Apalodimas
2024-05-02  1:30   ` [PATCH 30/81] fpga: " Tom Rini
2024-05-02  1:30   ` [PATCH 31/81] fuzz: " Tom Rini
2024-05-02  1:30   ` [PATCH 32/81] fwu-mdata: " Tom Rini
2024-05-02 13:15     ` Jassi Brar
2024-05-07  7:39     ` Ilias Apalodimas
2024-05-02  1:30   ` [PATCH 33/81] gpio: " Tom Rini
2024-05-02 11:10     ` Peter Robinson
2024-05-03  3:58     ` Heiko Schocher
2024-05-09  9:09     ` Stefan Bosch
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` [PATCH 34/81] hwspinlock: " Tom Rini
2024-05-02  1:30   ` [PATCH 35/81] i2c: " Tom Rini
2024-05-03  3:58     ` Heiko Schocher
2024-05-09  9:09     ` Stefan Bosch
2024-05-02  1:30   ` [PATCH 36/81] input: " Tom Rini
2024-05-02  1:30   ` [PATCH 37/81] iommu: " Tom Rini
2024-05-02  1:30   ` [PATCH 38/81] led: " Tom Rini
2024-05-02  1:30   ` [PATCH 39/81] mailbox: " Tom Rini
2024-05-02  1:30   ` [PATCH 40/81] memory: " Tom Rini
2024-05-02  1:30   ` [PATCH 41/81] misc: " Tom Rini
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` [PATCH 42/81] mmc: " Tom Rini
2024-05-02 11:10     ` Peter Robinson
2024-05-03  2:31     ` Jaehoon Chung
2024-05-10  0:41     ` Kever Yang
2024-05-02  1:31   ` [PATCH 43/81] mtd: " Tom Rini
2024-05-03  4:21     ` William Zhang
2024-05-02  1:31   ` [PATCH 44/81] mux: " Tom Rini
2024-05-02  1:31   ` [PATCH 45/81] net: " Tom Rini
2024-05-10  0:41     ` Kever Yang
2024-05-02  1:31   ` [PATCH 46/81] nvme: " Tom Rini
2024-05-02  1:31   ` [PATCH 47/81] pch: " Tom Rini
2024-05-02  1:31   ` [PATCH 48/81] pci: " Tom Rini
2024-05-03  3:59     ` Heiko Schocher
2024-05-10  0:42     ` Kever Yang
2024-05-02  1:31   ` [PATCH 49/81] pci_endpoint: " Tom Rini
2024-05-02  1:31   ` [PATCH 50/81] phy: " Tom Rini
2024-05-09  9:10     ` Stefan Bosch
2024-05-10  0:42     ` Kever Yang
2024-05-02  1:31   ` [PATCH 51/81] pinctrl: " Tom Rini
2024-05-02 11:11     ` Peter Robinson
2024-05-09  9:10     ` Stefan Bosch
2024-05-10  0:42     ` Kever Yang
2024-05-02  1:31   ` [PATCH 52/81] power: " Tom Rini
2024-05-10  0:43     ` Kever Yang
2024-05-02  1:31   ` [PATCH 53/81] pwm: " Tom Rini
2024-05-09  9:11     ` Stefan Bosch
2024-05-02  1:31   ` [PATCH 54/81] ram: " Tom Rini
2024-05-10  0:43     ` Kever Yang
2024-05-02  1:31   ` [PATCH 55/81] reboot-mode: " Tom Rini
2024-05-02  1:31   ` [PATCH 56/81] remoteproc: " Tom Rini
2024-05-02  1:31   ` [PATCH 57/81] reset: " Tom Rini
2024-05-10  0:43     ` Kever Yang
2024-05-02  1:31   ` [PATCH 58/81] rtc: " Tom Rini
2024-05-02  1:31   ` [PATCH 59/81] scsi: " Tom Rini
2024-05-02  1:31   ` [PATCH 60/81] serial: " Tom Rini
2024-05-02 11:11     ` Peter Robinson
2024-05-09  9:12     ` Stefan Bosch
2024-05-02  1:31   ` [PATCH 61/81] sm: " Tom Rini
2024-05-02  1:31   ` [PATCH 62/81] smem: " Tom Rini
2024-05-02  1:31   ` [PATCH 63/81] soc: " Tom Rini
2024-05-03 14:44     ` Bryan Brattlof
2024-05-02  1:31   ` [PATCH 64/81] sound: " Tom Rini
2024-05-10  0:44     ` Kever Yang
2024-05-02  1:31   ` [PATCH 65/81] spi: " Tom Rini
2024-05-03  4:25     ` William Zhang
2024-05-03  5:47     ` Cédric Le Goater
2024-05-02  1:31   ` [PATCH 66/81] spmi: " Tom Rini
2024-05-02  1:31   ` [PATCH 67/81] sysinfo: " Tom Rini
2024-05-02  1:31   ` [PATCH 68/81] sysreset: " Tom Rini
2024-05-10  0:44     ` Kever Yang
2024-05-02  1:31   ` [PATCH 69/81] thermal: " Tom Rini
2024-05-02  1:31   ` [PATCH 70/81] timer: " Tom Rini
2024-05-10  0:44     ` Kever Yang
2024-05-02  1:31   ` [PATCH 71/81] tpm: " Tom Rini
2024-05-07  7:36     ` Ilias Apalodimas
2024-05-02  1:31   ` [PATCH 72/81] ufs: " Tom Rini
2024-05-02  1:31   ` [PATCH 73/81] usb: " Tom Rini
2024-05-02  7:40     ` Mattijs Korpershoek
2024-05-02 14:51       ` Tom Rini
2024-05-03  7:20         ` Mattijs Korpershoek
2024-05-04 17:09     ` E Shattow
2024-05-04 18:33       ` Tom Rini
2024-05-02  1:31   ` [PATCH 74/81] video: " Tom Rini
2024-05-02 11:14     ` Peter Robinson
2024-05-09  9:13     ` Stefan Bosch
2024-05-10  0:45     ` Kever Yang
2024-05-02  1:31   ` [PATCH 75/81] virtio: " Tom Rini
2024-05-02  1:31   ` [PATCH 76/81] w1: " Tom Rini
2024-05-02  1:31   ` [PATCH 77/81] w1-eeprom: " Tom Rini
2024-05-02  1:31   ` [PATCH 78/81] watchdog: " Tom Rini
2024-05-02  6:49     ` Angelo Dureghello
2024-05-02  1:31   ` [PATCH 79/81] xen: " Tom Rini
2024-05-02  1:31   ` [PATCH 80/81] api: " Tom Rini
2024-05-02  1:31   ` [PATCH 81/81] common.h: Remove this file and all references Tom Rini
2024-05-03  2:29   ` [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig Jaehoon Chung
2024-05-07 14:02   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240502013138.2383421-20-trini@konsulko.com \
    --to=trini@konsulko.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox