* [PATCH v1 1/1] misc: hisi_hikey_usb: Remove unused of_gpio.h
@ 2024-03-04 18:08 Andy Shevchenko
2024-03-04 20:27 ` John Stultz
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-03-04 18:08 UTC (permalink / raw)
To: Andy Shevchenko, linux-kernel
Cc: John Stultz, Arnd Bergmann, Greg Kroah-Hartman
of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/misc/hisi_hikey_usb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc/hisi_hikey_usb.c b/drivers/misc/hisi_hikey_usb.c
index 2165ec35a343..42e12f11ae6e 100644
--- a/drivers/misc/hisi_hikey_usb.c
+++ b/drivers/misc/hisi_hikey_usb.c
@@ -14,7 +14,6 @@
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/notifier.h>
-#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/regulator/consumer.h>
--
2.43.0.rc1.1.gbec44491f096
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] misc: hisi_hikey_usb: Remove unused of_gpio.h
2024-03-04 18:08 [PATCH v1 1/1] misc: hisi_hikey_usb: Remove unused of_gpio.h Andy Shevchenko
@ 2024-03-04 20:27 ` John Stultz
0 siblings, 0 replies; 2+ messages in thread
From: John Stultz @ 2024-03-04 20:27 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: linux-kernel, Arnd Bergmann, Greg Kroah-Hartman
On Mon, Mar 4, 2024 at 10:08 AM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Untested, but looks ok to me.
Acked-by: John Stultz <jstultz@google.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-04 20:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-04 18:08 [PATCH v1 1/1] misc: hisi_hikey_usb: Remove unused of_gpio.h Andy Shevchenko
2024-03-04 20:27 ` John Stultz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®