]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
button: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:30:34 +0000 (19:30 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:41 +0000 (08:00 -0600)
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/button/button-adc.c
drivers/button/button-gpio.c
drivers/button/button-uclass.c

index 9c24c960e6ffc8da6fdf9897150dcb9b69ac87f9..da7ddf2a857778df902a90b9d94ba3addd372c1c 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Marek Szyprowski <m.szyprowski@samsung.com>
  */
 
-#include <common.h>
 #include <adc.h>
 #include <button.h>
 #include <log.h>
index 7b5b3affe2ddab2aea0601053ec4e7aab19d8c1b..43b82d98aeb7f9c26aa113b38b2351dab1a55766 100644 (file)
@@ -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>
index 032191d61abc58a21ca0dfaac0a16262071d124f..cda243389df3b4f728a14c3295a75fd67d6a9624 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_BUTTON
 
-#include <common.h>
 #include <button.h>
 #include <dm.h>
 #include <dm/uclass-internal.h>