Messages in this thread Patch in this message | | | From | Andy Shevchenko <> | Subject | [PATCH v1 7/7] leds: lp50xx: Update headers block to reflect reality | Date | Tue, 16 Feb 2021 17:50:50 +0200 |
| |
The OF is not used in the driver, thus the OF headers are not needed, but mod_devicetable.h is missed.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/leds/leds-lp50xx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/leds/leds-lp50xx.c b/drivers/leds/leds-lp50xx.c index 0c6a5a9dd162..43c9ac1d4b1c 100644 --- a/drivers/leds/leds-lp50xx.c +++ b/drivers/leds/leds-lp50xx.c @@ -7,10 +7,9 @@ #include <linux/i2c.h> #include <linux/init.h> #include <linux/leds.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/mutex.h> -#include <linux/of.h> -#include <linux/of_gpio.h> #include <linux/regmap.h> #include <linux/regulator/consumer.h> #include <linux/slab.h> -- 2.30.0
| |