projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a14af4
)
gpio: twl6040: remove unneeded forward declaration
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Tue, 22 Aug 2017 17:33:55 +0000
(
02:33
+0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 23 Aug 2017 08:20:16 +0000
(10:20 +0200)
There is no reference to twl6040gpo_chip before its definition.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-twl6040.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-twl6040.c
b/drivers/gpio/gpio-twl6040.c
index
b780314
..
dadeacf
100644
(file)
--- a/
drivers/gpio/gpio-twl6040.c
+++ b/
drivers/gpio/gpio-twl6040.c
@@
-32,8
+32,6
@@
#include <linux/mfd/twl6040.h>
-static struct gpio_chip twl6040gpo_chip;
-
static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset)
{
struct twl6040 *twl6040 = dev_get_drvdata(chip->parent->parent);