2024-03-04 17:49:26

by Andy Shevchenko

[permalink] [raw]
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.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/extcon/extcon-rtk-type-c.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/extcon/extcon-rtk-type-c.c b/drivers/extcon/extcon-rtk-type-c.c
index a592bab77538..19a01e663733 100644
--- a/drivers/extcon/extcon-rtk-type-c.c
+++ b/drivers/extcon/extcon-rtk-type-c.c
@@ -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>
--
2.43.0.rc1.1.gbec44491f096



2024-03-07 11:47:06

by Chanwoo Choi

[permalink] [raw]
Subject: RE: [PATCH v1 1/1] extcon: realtek: Remove unused of_gpio.h



> -----Original Message-----
> From: Andy Shevchenko <[email protected]>
> Sent: Tuesday, March 5, 2024 2:49 AM
> To: Stanley Chang <[email protected]>;
[email protected]
> Cc: MyungJoo Ham <[email protected]>; Chanwoo Choi
> <[email protected]>; Andy Shevchenko
<[email protected]>
> 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.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> drivers/extcon/extcon-rtk-type-c.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/extcon/extcon-rtk-type-c.c
b/drivers/extcon/extcon-rtk-
> type-c.c
> index a592bab77538..19a01e663733 100644
> --- a/drivers/extcon/extcon-rtk-type-c.c
> +++ b/drivers/extcon/extcon-rtk-type-c.c
> @@ -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>
> --
> 2.43.0.rc1.1.gbec44491f096
>

Applied it. Thanks.

Best Regards,
Chanwoo Choi