diff mbox series

[v1,1/2] leds: lp8860: Remove unused of_gpio,h

Message ID 20230215170403.84449-1-andriy.shevchenko@linux.intel.com
State New
Headers show
Series [v1,1/2] leds: lp8860: Remove unused of_gpio,h | expand

Commit Message

Andy Shevchenko Feb. 15, 2023, 5:04 p.m. UTC
of_gpio.h provides a single function, which is not used in this driver.
Remove unused header.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/leds/leds-lp8860.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Lee Jones March 3, 2023, 10:28 a.m. UTC | #1
On Wed, 15 Feb 2023, Andy Shevchenko wrote:

> of_gpio.h provides a single function, which is not used in this driver.
> Remove unused header.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/leds/leds-lp8860.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/leds/leds-lp8860.c b/drivers/leds/leds-lp8860.c
index b66ed5ac1aa5..666f4d38214f 100644
--- a/drivers/leds/leds-lp8860.c
+++ b/drivers/leds/leds-lp8860.c
@@ -15,7 +15,6 @@ 
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/slab.h>