Skip to content

Commit 3a92363

Browse files
andy-shevpavelmachek
authored andcommitted
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>
1 parent 690e4f3 commit 3a92363

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drivers/leds/leds-lm3697.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
// TI LM3697 LED chip family driver
33
// Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
44

5+
#include <linux/bits.h>
56
#include <linux/gpio/consumer.h>
67
#include <linux/i2c.h>
7-
#include <linux/of.h>
8-
#include <linux/of_gpio.h>
8+
#include <linux/mod_devicetable.h>
9+
#include <linux/module.h>
10+
#include <linux/property.h>
11+
#include <linux/regmap.h>
912
#include <linux/regulator/consumer.h>
13+
#include <linux/types.h>
14+
1015
#include <linux/leds-ti-lmu-common.h>
1116

1217
#define LM3697_REV 0x0

0 commit comments

Comments
 (0)