Skip to content

Commit

Permalink
gpio: twl6040: remove unneeded forward declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada authored and Linus Walleij committed Aug 23, 2017
1 parent 4a14af4 commit 1253baa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpio/gpio-twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1253baa

Please sign in to comment.