Commit 1253baaa authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Walleij

gpio: twl6040: remove unneeded forward declaration

There is no reference to twl6040gpo_chip before its definition.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4a14af45
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
#include <linux/mfd/twl6040.h> #include <linux/mfd/twl6040.h>
static struct gpio_chip twl6040gpo_chip;
static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset) static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset)
{ {
struct twl6040 *twl6040 = dev_get_drvdata(chip->parent->parent); struct twl6040 *twl6040 = dev_get_drvdata(chip->parent->parent);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment