summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-02-16 17:50:50 +0200
committerPavel Machek <pavel@ucw.cz>2021-02-19 22:15:46 +0100
commitfb0f236beccbf74da90429d417864cfc6fc6673a (patch)
treec43a8c0208c45af470c2a70d2c41a87dd4ad7e55 /drivers/leds
parent5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc (diff)
leds: lp50xx: Update headers block to reflect reality
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> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-lp50xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/leds/leds-lp50xx.c b/drivers/leds/leds-lp50xx.c
index ae82d4d7c9f3..1964483c94d3 100644
--- a/drivers/leds/leds-lp50xx.c
+++ b/drivers/leds/leds-lp50xx.c
@@ -6,10 +6,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>