mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 1/1] extcon: realtek: Remove unused of_gpio.h
@ 2024-03-04 17:49 ` Andy Shevchenko
  2024-03-07 11:36   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-03-04 17:49 UTC (permalink / raw)
  To: Stanley Chang, linux-kernel; +Cc: MyungJoo Ham, Chanwoo Choi, Andy Shevchenko

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@linux.intel.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH v1 1/1] extcon: realtek: Remove unused of_gpio.h
  2024-03-04 17:49 ` [PATCH v1 1/1] extcon: realtek: Remove unused of_gpio.h Andy Shevchenko
@ 2024-03-07 11:36   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2024-03-07 11:36 UTC (permalink / raw)
  To: 'Andy Shevchenko', 'Stanley Chang', linux-kernel
  Cc: 'MyungJoo Ham'



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-07 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20240304174938epcas1p379bfb2a4834ffc255149b5fcaba60534@epcas1p3.samsung.com>
2024-03-04 17:49 ` [PATCH v1 1/1] extcon: realtek: Remove unused of_gpio.h Andy Shevchenko
2024-03-07 11:36   ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®