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]>
---
 drivers/button/button-adc.c    | 1 -
 drivers/button/button-gpio.c   | 1 -
 drivers/button/button-uclass.c | 1 -
 3 files changed, 3 deletions(-)

diff --git a/drivers/button/button-adc.c b/drivers/button/button-adc.c
index 9c24c960e6ff..da7ddf2a8577 100644
--- a/drivers/button/button-adc.c
+++ b/drivers/button/button-adc.c
@@ -5,7 +5,6 @@
  * Author: Marek Szyprowski <[email protected]>
  */
 
-#include <common.h>
 #include <adc.h>
 #include <button.h>
 #include <log.h>
diff --git a/drivers/button/button-gpio.c b/drivers/button/button-gpio.c
index 7b5b3affe2dd..43b82d98aeb7 100644
--- a/drivers/button/button-gpio.c
+++ b/drivers/button/button-gpio.c
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Philippe Reynes <[email protected]>
  */
 
-#include <common.h>
 #include <button.h>
 #include <dm.h>
 #include <dm/lists.h>
diff --git a/drivers/button/button-uclass.c b/drivers/button/button-uclass.c
index 032191d61abc..cda243389df3 100644
--- a/drivers/button/button-uclass.c
+++ b/drivers/button/button-uclass.c
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_BUTTON
 
-#include <common.h>
 #include <button.h>
 #include <dm.h>
 #include <dm/uclass-internal.h>
-- 
2.34.1

Reply via email to