Skip to contentSkip to conversation

MIPS: ralink: Remove unused of_gpio.h

PATCH Applied Andy Shevchenko 2 participants 2 messages Mar 4, 2024 – Mar 7, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: ralink: 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.

---
 arch/mips/ralink/timer.c | 1 -
 1 file changed, 1 deletion(-)
arch/mips/ralink/timer.c +0 -1
index fc503679a93d..8b485cbe854e 100644
@@ -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>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
maintainer Applied
#1 lore raw
Quoted 22 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
 arch/mips/ralink/timer.c | 1 -
 1 file changed, 1 deletion(-)
arch/mips/ralink/timer.c +0 -1
index fc503679a93d..8b485cbe854e 100644
@@ -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>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096

applied to mips-next.

Thomas.

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