Skip to contentSkip to conversation

leds: pwm: Remove unneeded header file

PATCH Applied Fabio Estevam 2 participants 2 messages Nov 18, 2017 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: pwm: Remove unneeded header file

From: Fabio Estevam <[email protected]>

There is nothing provided by <linux/fb.h> that is used here, so remove this unneeded header file.

---
 drivers/leds/leds-pwm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/leds/leds-pwm.c +0 -1
index 8d456dc6..df80c89 100644
@@ -16,7 +16,6 @@
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/of_platform.h>
-#include <linux/fb.h>
 #include <linux/leds.h>
 #include <linux/err.h>
 #include <linux/pwm.h>
Signature · 1 line
2.7.4
#1 lore raw

Hi Fabio,

Thanks for the patch.

Quoted 16 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

There is nothing provided by <linux/fb.h> that is used here, so remove this unneeded header file.

---
 drivers/leds/leds-pwm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/leds/leds-pwm.c +0 -0
index 8d456dc6..df80c89 100644

drivers/leds/leds-pwm.c line 21

Quoted 7 lines
drivers/leds/leds-pwm.c +0 -1
@@ -16,7 +16,6 @@
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/of_platform.h>
-#include <linux/fb.h>
 #include <linux/leds.h>
 #include <linux/err.h>
 #include <linux/pwm.h>

Applied to the for-4.16 branch of linux-leds.git.

Signature · 2 lines
Best regards,
Jacek Anaszewski