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

From: Chanwoo Choi
Date: Thu Mar 07 2024 - 06:38:43 EST




> -----Original Message-----
> From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Sent: Tuesday, March 5, 2024 2:49 AM
> To: Stanley Chang <stanley_chang@xxxxxxxxxxx>;
linux-kernel@xxxxxxxxxxxxxxx
> Cc: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>; Chanwoo Choi
> <cw00.choi@xxxxxxxxxxx>; Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx>
> 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 <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> 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