Skip to contentSkip to conversation

MIPS: jz4740: qi_lb60: Remove unused linux/leds_pwm.h include

PATCH In review Thierry Reding 3 participants 4 messages Oct 5, 2015 – Oct 6, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: jz4740: qi_lb60: Remove unused linux/leds_pwm.h include

The board code never sets up a leds-pwm device, so including the header is not necessary.

---
 arch/mips/jz4740/board-qi_lb60.c | 2 --
 1 file changed, 2 deletions(-)
arch/mips/jz4740/board-qi_lb60.c +0 -2
index 0e6ad22d265c..79f37c2aa298 100644
@@ -34,8 +34,6 @@
 #include <linux/regulator/fixed.h>
 #include <linux/regulator/machine.h>
 
-#include <linux/leds_pwm.h>
-
 #include <asm/mach-jz4740/gpio.h>
 #include <asm/mach-jz4740/platform.h>
 
Signature · 1 line
2.5.0
#3 lore raw
Quoted 7 lines · Lars-Peter Clausen
Quoted 4 lines · Thierry Reding

The board code never sets up a leds-pwm device, so including the header is not necessary.

Somehow your email with the Ack got duplicated and patchwork being not that clever counted that for two Acks ...

Anyway, just as with the previous patch this one only applied with fuzz probably due to the gpio.h fix.

Thanks,

Ralf