Skip to contentSkip to conversation

extcon: realtek: Remove unused of_gpio.h

PATCH Applied Andy Shevchenko 2 participants 2 messages Mar 4, 2024 – Mar 7, 2024 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: realtek: 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.

---
 drivers/extcon/extcon-rtk-type-c.c | 1 -
 1 file changed, 1 deletion(-)
drivers/extcon/extcon-rtk-type-c.c +0 -1
index a592bab77538..19a01e663733 100644
@@ -13,7 +13,6 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
-#include <linux/of_gpio.h>
 #include <linux/io.h>
 #include <linux/interrupt.h>
 #include <linux/syscalls.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
maintainer Applied
#1 lore raw
Quoted 6 lines

-----Original Message-----
From: Andy Shevchenko <[email protected]>
Sent: Tuesday, March 5, 2024 2:49 AM
To: Stanley Chang <[email protected]>;

[email protected]

Quoted 2 lines

Cc: MyungJoo Ham <[email protected]>; Chanwoo Choi <[email protected]>; Andy Shevchenko

<[email protected]>

Review

Quoted 11 lines

Subject: [PATCH v1 1/1] extcon: realtek: 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.

---
 drivers/extcon/extcon-rtk-type-c.c | 1 -
 1 file changed, 1 deletion(-)
(quoted diff) +0 -0

b/drivers/extcon/extcon-rtk-

Quoted 13 lines

type-c.c
index a592bab77538..19a01e663733 100644

drivers/extcon/extcon-rtk-type-c.c +0 -2
@@ -13,7 +13,6 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
-#include <linux/of_gpio.h>
 #include <linux/io.h>
 #include <linux/interrupt.h>
 #include <linux/syscalls.h>
--
Quoted 2 lines

2.43.0.rc1.1.gbec44491f096

Applied it. Thanks.

Best Regards,
Chanwoo Choi