@@ -232,7 +232,7 @@ config LEDS_LM3642
config LEDS_LM3692X
tristate "LED support for LM3692x Chips"
- depends on LEDS_CLASS && I2C && OF
+ depends on LEDS_CLASS && I2C
select REGMAP_I2C
help
This option enables support for the TI LM3692x family
@@ -7,10 +7,9 @@
#include <linux/init.h>
#include <linux/leds.h>
#include <linux/log2.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>
There is no user of of*.h headers, but mod_devicetable.h. Update header block accordingly. While at it, drop unneeded dependency to OF. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> --- drivers/leds/Kconfig | 2 +- drivers/leds/leds-lm3692x.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)