public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] MIPS: ralink: Remove unused of_gpio.h
@ 2024-03-04 17:54 Andy Shevchenko
  2024-03-07 16:21 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-03-04 17:54 UTC (permalink / raw)
  To: Andy Shevchenko, linux-mips, linux-kernel
  Cc: John Crispin, Sergio Paracuellos, Thomas Bogendoerfer

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>
---
 arch/mips/ralink/timer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c
index fc503679a93d..8b485cbe854e 100644
--- a/arch/mips/ralink/timer.c
+++ b/arch/mips/ralink/timer.c
@@ -9,7 +9,6 @@
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/timer.h>
-#include <linux/of_gpio.h>
 #include <linux/clk.h>
 
 #include <asm/mach-ralink/ralink_regs.h>
-- 
2.43.0.rc1.1.gbec44491f096


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

* Re: [PATCH v1 1/1] MIPS: ralink: Remove unused of_gpio.h
  2024-03-04 17:54 [PATCH v1 1/1] MIPS: ralink: Remove unused of_gpio.h Andy Shevchenko
@ 2024-03-07 16:21 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2024-03-07 16:21 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-mips, linux-kernel, John Crispin, Sergio Paracuellos

On Mon, Mar 04, 2024 at 07:54:39PM +0200, Andy Shevchenko wrote:
> 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>
> ---
>  arch/mips/ralink/timer.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c
> index fc503679a93d..8b485cbe854e 100644
> --- a/arch/mips/ralink/timer.c
> +++ b/arch/mips/ralink/timer.c
> @@ -9,7 +9,6 @@
>  #include <linux/platform_device.h>
>  #include <linux/interrupt.h>
>  #include <linux/timer.h>
> -#include <linux/of_gpio.h>
>  #include <linux/clk.h>
>  
>  #include <asm/mach-ralink/ralink_regs.h>
> -- 
> 2.43.0.rc1.1.gbec44491f096

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 17:54 [PATCH v1 1/1] MIPS: ralink: Remove unused of_gpio.h Andy Shevchenko
2024-03-07 16:21 ` Thomas Bogendoerfer

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