Skip to content

Commit 1253baa

Browse files
masahir0ylinusw
authored andcommitted
gpio: twl6040: remove unneeded forward declaration
There is no reference to twl6040gpo_chip before its definition. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 4a14af4 commit 1253baa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpio/gpio-twl6040.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232

3333
#include <linux/mfd/twl6040.h>
3434

35-
static struct gpio_chip twl6040gpo_chip;
36-
3735
static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset)
3836
{
3937
struct twl6040 *twl6040 = dev_get_drvdata(chip->parent->parent);

0 commit comments

Comments
 (0)