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

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
Cc: Caleb Connolly <caleb.conno...@linaro.org>
Cc: Neil Armstrong <neil.armstr...@linaro.org>
Cc: Sumit Garg <sumit.g...@linaro.org>
Cc: Mateusz Kulikowski <mateusz.kulikow...@gmail.com>
Cc: Tom Rini <tr...@konsulko.com>
Cc: Simon Glass <s...@chromium.org>
---
 drivers/spmi/spmi-msm.c     | 1 -
 drivers/spmi/spmi-sandbox.c | 1 -
 drivers/spmi/spmi-uclass.c  | 1 -
 3 files changed, 3 deletions(-)

diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c
index 244de69b3590..b0d6226041e5 100644
--- a/drivers/spmi/spmi-msm.c
+++ b/drivers/spmi/spmi-msm.c
@@ -7,7 +7,6 @@
  * Loosely based on Little Kernel driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
diff --git a/drivers/spmi/spmi-sandbox.c b/drivers/spmi/spmi-sandbox.c
index f6772946bca3..992b08dd6120 100644
--- a/drivers/spmi/spmi-sandbox.c
+++ b/drivers/spmi/spmi-sandbox.c
@@ -7,7 +7,6 @@
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikow...@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <spmi/spmi.h>
diff --git a/drivers/spmi/spmi-uclass.c b/drivers/spmi/spmi-uclass.c
index 9d9f46a37d83..34fe8f6644c3 100644
--- a/drivers/spmi/spmi-uclass.c
+++ b/drivers/spmi/spmi-uclass.c
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_SPMI
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <spmi/spmi.h>
-- 
2.34.1

Reply via email to