diff options
author | Yuval Peress <peress@google.com> | 2022-07-28 11:23:22 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-05 18:34:32 +0000 |
commit | a639c13eca2e4c1982e8b7d699a8b387e6bb030d (patch) | |
tree | e5a4613f07bb55ed03971e3aba481f9d3a896219 /power | |
parent | 79867844f7e223dee1183b3a02426b75288dfb88 (diff) | |
download | chrome-ec-a639c13eca2e4c1982e8b7d699a8b387e6bb030d.tar.gz |
util: remove unused includes
Remove these includes as they're not needed in this header. Instead,
the includes should go where they're actually being used.
BRANCH=none
BUG=b:240574048
TEST=make buildall -j
TEST=zmake build -a
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: I64b10af3216654b2a20caa1cabd267661a0bca39
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3791980
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Commit-Queue: Tristan Honscheid <honscheid@google.com>
Diffstat (limited to 'power')
-rw-r--r-- | power/falconlite.c | 1 | ||||
-rw-r--r-- | power/mt817x.c | 1 | ||||
-rw-r--r-- | power/mt8183.c | 1 | ||||
-rw-r--r-- | power/mt8186.c | 2 | ||||
-rw-r--r-- | power/mt8192.c | 1 | ||||
-rw-r--r-- | power/qcom.c | 1 | ||||
-rw-r--r-- | power/rk3288.c | 1 | ||||
-rw-r--r-- | power/rk3399.c | 1 | ||||
-rw-r--r-- | power/sdm845.c | 1 |
9 files changed, 9 insertions, 1 deletions
diff --git a/power/falconlite.c b/power/falconlite.c index ce03fbbf31..0ddd310898 100644 --- a/power/falconlite.c +++ b/power/falconlite.c @@ -5,6 +5,7 @@ /* FalconLite chipset power control module for Chrome EC */ +#include "builtin/assert.h" #include "charge_state.h" #include "chipset.h" #include "common.h" diff --git a/power/mt817x.c b/power/mt817x.c index abaab82358..f27c960bd6 100644 --- a/power/mt817x.c +++ b/power/mt817x.c @@ -26,6 +26,7 @@ */ #include "battery.h" +#include "builtin/assert.h" #include "chipset.h" /* ./common/chipset.c implements chipset functions too */ #include "common.h" #include "gpio.h" diff --git a/power/mt8183.c b/power/mt8183.c index d083edc958..c0b6140ce1 100644 --- a/power/mt8183.c +++ b/power/mt8183.c @@ -5,6 +5,7 @@ /* mt8183 chipset power control module for Chrome EC */ +#include "builtin/assert.h" #include "charge_state.h" #include "chipset.h" #include "common.h" diff --git a/power/mt8186.c b/power/mt8186.c index 71de42a3a6..475ba769f9 100644 --- a/power/mt8186.c +++ b/power/mt8186.c @@ -21,8 +21,8 @@ * - Pressing and releaseing power within that 8s is ignored */ -#include "assert.h" #include "battery.h" +#include "builtin/assert.h" #include "chipset.h" #include "common.h" #include "gpio.h" diff --git a/power/mt8192.c b/power/mt8192.c index c3d0ce3267..a942153a95 100644 --- a/power/mt8192.c +++ b/power/mt8192.c @@ -22,6 +22,7 @@ */ #include "battery.h" +#include "builtin/assert.h" #include "chipset.h" #include "common.h" #include "gpio.h" diff --git a/power/qcom.c b/power/qcom.c index 5fcdeda98e..ed546cd976 100644 --- a/power/qcom.c +++ b/power/qcom.c @@ -22,6 +22,7 @@ * - If POWER_GOOD is dropped by the AP, then we power the AP off */ +#include "builtin/assert.h" #include "charge_state.h" #include "chipset.h" #include "common.h" diff --git a/power/rk3288.c b/power/rk3288.c index 6483deec71..ecdc1f2200 100644 --- a/power/rk3288.c +++ b/power/rk3288.c @@ -24,6 +24,7 @@ */ #include "battery.h" +#include "builtin/assert.h" #include "charge_state.h" #include "chipset.h" /* This module implements chipset functions too */ #include "clock.h" diff --git a/power/rk3399.c b/power/rk3399.c index ec034e2168..1c1172c8bf 100644 --- a/power/rk3399.c +++ b/power/rk3399.c @@ -12,6 +12,7 @@ * Version 1: Simplified power tree for tablet / detachable. */ +#include "builtin/assert.h" #include "charge_state.h" #include "chipset.h" #include "common.h" diff --git a/power/sdm845.c b/power/sdm845.c index dcb09ec266..7dc8c4d14a 100644 --- a/power/sdm845.c +++ b/power/sdm845.c @@ -22,6 +22,7 @@ * - If POWER_GOOD is dropped by the AP, then we power the AP off */ +#include "builtin/assert.h" #include "charge_state.h" #include "chipset.h" #include "common.h" |