projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4cc7e8
)
iio: si1145: Drop GPIO include
author
Linus Walleij
<linus.walleij@linaro.org>
Mon, 2 Dec 2019 08:21:23 +0000
(09:21 +0100)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2019 11:42:15 +0000
(11:42 +0000)
The driver include <linux/gpio.h> yet does not use any
of the symbols from the header, so drop the include.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/si1145.c
patch
|
blob
|
history
diff --git
a/drivers/iio/light/si1145.c
b/drivers/iio/light/si1145.c
index 982bba0c54e7d183db2c67836daf40a3ec9081fc..0476c2bc813841530b5e3977bfa2012baec51921 100644
(file)
--- a/
drivers/iio/light/si1145.c
+++ b/
drivers/iio/light/si1145.c
@@
-17,7
+17,6
@@
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/irq.h>
-#include <linux/gpio.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>