extcon: realtek: Remove unused of_gpio.h
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.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/extcon/extcon-rtk-type-c.c | 1 - 1 file changed, 1 deletion(-)
drivers/extcon/extcon-rtk-type-c.c +0 -1
@@ -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
Quoted 6 lines
-----Original Message-----
From: Andy Shevchenko <[email protected]>
Sent: Tuesday, March 5, 2024 2:49 AM
To: Stanley Chang <[email protected]>;
Quoted 2 lines
Cc: MyungJoo Ham <[email protected]>; Chanwoo Choi <[email protected]>; Andy Shevchenko
Review
Quoted 11 lines
Subject: [PATCH v1 1/1] extcon: realtek: Remove unused
of_gpio.h
of_gpio.his deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.Signed-off-by Andy Shevchenko <[email protected]>--- 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
indexa592bab77538..19a01e663733100644drivers/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