]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gpio: dw: Drop unused headers
authorMaksim Kiselev <bigunclemax@gmail.com>
Wed, 29 Nov 2023 21:47:31 +0000 (00:47 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 19 Dec 2023 15:07:48 +0000 (10:07 -0500)
Drop headers which are not used or needed in this file.

Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
drivers/gpio/dwapb_gpio.c

index e6e919444f5fa5fcda9f64030a2949ecb253ea06..7a6eae9ba18654aac42df247969408449dd407af 100644 (file)
@@ -5,21 +5,15 @@
  * DesignWare APB GPIO driver
  */
 
-#include <common.h>
-#include <log.h>
-#include <malloc.h>
-#include <asm/arch/gpio.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
-#include <dm.h>
+#include <dm/device.h>
 #include <dm/device-internal.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
-#include <dm/lists.h>
-#include <dm/root.h>
+#include <dm/read.h>
 #include <errno.h>
 #include <reset.h>
-#include <linux/bitops.h>
 
 #define GPIO_SWPORT_DR(p)      (0x00 + (p) * 0xc)
 #define GPIO_SWPORT_DDR(p)     (0x04 + (p) * 0xc)