* [PATCH] leds: pwm: Remove unneeded header file
@ 2017-11-18 20:22 Fabio Estevam
2017-11-18 20:32 ` Jacek Anaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2017-11-18 20:22 UTC (permalink / raw)
To: jacek.anaszewski; +Cc: linux-leds, Fabio Estevam
From: Fabio Estevam <fabio.estevam@nxp.com>
There is nothing provided by <linux/fb.h> that is used here,
so remove this unneeded header file.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
drivers/leds/leds-pwm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c
index 8d456dc6..df80c89 100644
--- a/drivers/leds/leds-pwm.c
+++ b/drivers/leds/leds-pwm.c
@@ -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>
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] leds: pwm: Remove unneeded header file
2017-11-18 20:22 [PATCH] leds: pwm: Remove unneeded header file Fabio Estevam
@ 2017-11-18 20:32 ` Jacek Anaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Jacek Anaszewski @ 2017-11-18 20:32 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-leds, Fabio Estevam
Hi Fabio,
Thanks for the patch.
On 11/18/2017 09:22 PM, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> There is nothing provided by <linux/fb.h> that is used here,
> so remove this unneeded header file.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> drivers/leds/leds-pwm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c
> index 8d456dc6..df80c89 100644
> --- a/drivers/leds/leds-pwm.c
> +++ b/drivers/leds/leds-pwm.c
> @@ -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.
--
Best regards,
Jacek Anaszewski
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-18 20:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-18 20:22 [PATCH] leds: pwm: Remove unneeded header file Fabio Estevam
2017-11-18 20:32 ` Jacek Anaszewski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.