gpio: twl6040: remove unneeded forward declaration
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 22 Aug 2017 17:33:55 +0000 (02:33 +0900)
committerLinus 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

index b780314..dadeacf 100644 (file)
@@ -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);