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

Signed-off-by: Tom Rini <[email protected]>
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Marek Vasut <[email protected]>
---
 drivers/hwspinlock/hwspinlock-uclass.c  | 1 -
 drivers/hwspinlock/sandbox_hwspinlock.c | 1 -
 drivers/hwspinlock/stm32_hwspinlock.c   | 1 -
 3 files changed, 3 deletions(-)

diff --git a/drivers/hwspinlock/hwspinlock-uclass.c 
b/drivers/hwspinlock/hwspinlock-uclass.c
index e9a4d7f9fbbd..ea93efc97df7 100644
--- a/drivers/hwspinlock/hwspinlock-uclass.c
+++ b/drivers/hwspinlock/hwspinlock-uclass.c
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_HWSPINLOCK
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <hwspinlock.h>
diff --git a/drivers/hwspinlock/sandbox_hwspinlock.c 
b/drivers/hwspinlock/sandbox_hwspinlock.c
index be920f5f99df..fcda55517e1e 100644
--- a/drivers/hwspinlock/sandbox_hwspinlock.c
+++ b/drivers/hwspinlock/sandbox_hwspinlock.c
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hwspinlock.h>
 #include <asm/state.h>
diff --git a/drivers/hwspinlock/stm32_hwspinlock.c 
b/drivers/hwspinlock/stm32_hwspinlock.c
index 346b138e98f0..5273b9bfed89 100644
--- a/drivers/hwspinlock/stm32_hwspinlock.c
+++ b/drivers/hwspinlock/stm32_hwspinlock.c
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_HWSPINLOCK
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <hwspinlock.h>
-- 
2.34.1

Reply via email to