summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lm3697.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2021-05-29 14:19:31 +0300
committerPavel Machek <pavel@ucw.cz>2021-08-03 23:46:14 +0200
commit3a923639d36b1c54866236c2f53d112b797b0101 (patch)
tree205622296c21ede118b38a74d6c7eba2030bd837 /drivers/leds/leds-lm3697.c
parent690e4f3ad363ae5ad27222214509855d40d569a7 (diff)
downloadlwn-3a923639d36b1c54866236c2f53d112b797b0101.tar.gz
lwn-3a923639d36b1c54866236c2f53d112b797b0101.zip
leds: lm3697: Update header block to reflect reality
Currently the headers to be included look rather like a random set. Update them a bit to reflect the reality. While at it, drop unneeded dependcy to OF. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-lm3697.c')
-rw-r--r--drivers/leds/leds-lm3697.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/leds/leds-lm3697.c b/drivers/leds/leds-lm3697.c
index 970a4f34791b..292d64b2eeab 100644
--- a/drivers/leds/leds-lm3697.c
+++ b/drivers/leds/leds-lm3697.c
@@ -2,11 +2,16 @@
// TI LM3697 LED chip family driver
// Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
+#include <linux/bits.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
-#include <linux/of.h>
-#include <linux/of_gpio.h>
+#include <linux/mod_devicetable.h>
+#include <linux/module.h>
+#include <linux/property.h>
+#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
+#include <linux/types.h>
+
#include <linux/leds-ti-lmu-common.h>
#define LM3697_REV 0x0