aboutsummaryrefslogtreecommitdiff
path: root/drivers/button
diff options
context:
space:
mode:
authorTom Rini2024-05-01 19:30:34 -0600
committerTom Rini2024-05-07 08:00:41 -0600
commit72d31d97670e79e713609f04f30abe7ddd05a329 (patch)
treedd43ad2a92f5c7cd6ebeb2e05d9e2baf2744dcea /drivers/button
parent4fa3470efd7cf9edeb51d2c81bc8d0d6e80b6622 (diff)
button: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/button')
-rw-r--r--drivers/button/button-adc.c1
-rw-r--r--drivers/button/button-gpio.c1
-rw-r--r--drivers/button/button-uclass.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/button/button-adc.c b/drivers/button/button-adc.c
index 9c24c960e6f..da7ddf2a857 100644
--- a/drivers/button/button-adc.c
+++ b/drivers/button/button-adc.c
@@ -5,7 +5,6 @@
* Author: Marek Szyprowski <m.szyprowski@samsung.com>
*/
-#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 7b5b3affe2d..43b82d98aeb 100644
--- a/drivers/button/button-gpio.c
+++ b/drivers/button/button-gpio.c
@@ -3,7 +3,6 @@
* Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
*/
-#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 032191d61ab..cda243389df 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>