diff mbox series

[v1] gpio: dw: Drop unused headers

Message ID 20231129214731.756321-1-bigunclemax@gmail.com
State Accepted
Commit 00b049339850ecd57c518fde72cd2739a3bc0bb1
Delegated to: Tom Rini
Headers show
Series [v1] gpio: dw: Drop unused headers | expand

Commit Message

Maxim Kiselev Nov. 29, 2023, 9:47 p.m. UTC
Drop headers which are not used or needed in this file.

Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
---
 drivers/gpio/dwapb_gpio.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Comments

Tom Rini Dec. 19, 2023, 5:46 p.m. UTC | #1
On Thu, Nov 30, 2023 at 12:47:31AM +0300, Maksim Kiselev wrote:

> Drop headers which are not used or needed in this file.
> 
> Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c
index e6e919444f..7a6eae9ba1 100644
--- a/drivers/gpio/dwapb_gpio.c
+++ b/drivers/gpio/dwapb_gpio.c
@@ -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)