[PATCH v1 19/28] leds: lm3692x: Correct headers (of*.h -> mod_devicetable.h)

From: Andy Shevchenko
Date: Mon May 10 2021 - 05:52:59 EST


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@xxxxxxxxx>
---
drivers/leds/Kconfig | 2 +-
drivers/leds/leds-lm3692x.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index b06eb12f14bf..ff80142facbb 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -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
diff --git a/drivers/leds/leds-lm3692x.c b/drivers/leds/leds-lm3692x.c
index 55e6443997ec..50b4b8ee49fd 100644
--- a/drivers/leds/leds-lm3692x.c
+++ b/drivers/leds/leds-lm3692x.c
@@ -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>
--
2.31.1