2024-03-04 18:08:51

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 1/1] misc: hisi_hikey_usb: Remove unused of_gpio.h

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 <[email protected]>
---
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



2024-03-04 20:29:35

by John Stultz

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] misc: hisi_hikey_usb: Remove unused of_gpio.h

On Mon, Mar 4, 2024 at 10:08 AM Andy Shevchenko
<[email protected]> 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 <[email protected]>

Untested, but looks ok to me.

Acked-by: John Stultz <[email protected]>