public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1] gpio: dw: Drop unused headers
@ 2023-11-29 21:47 Maksim Kiselev
  2023-12-19 17:46 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Maksim Kiselev @ 2023-11-29 21:47 UTC (permalink / raw)
  To: u-boot; +Cc: Maksim Kiselev

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(-)

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)
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] gpio: dw: Drop unused headers
  2023-11-29 21:47 [PATCH v1] gpio: dw: Drop unused headers Maksim Kiselev
@ 2023-12-19 17:46 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2023-12-19 17:46 UTC (permalink / raw)
  To: Maksim Kiselev; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

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!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-19 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 21:47 [PATCH v1] gpio: dw: Drop unused headers Maksim Kiselev
2023-12-19 17:46 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox