* [PATCH] gpio: twl6040: remove unneeded forward declaration
@ 2017-08-22 17:33 Masahiro Yamada
2017-08-23 8:20 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2017-08-22 17:33 UTC (permalink / raw)
To: linux-gpio; +Cc: Masahiro Yamada, Linus Walleij, linux-kernel
There is no reference to twl6040gpo_chip before its definition.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
drivers/gpio/gpio-twl6040.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c
index b780314cdfc9..dadeacf43e0c 100644
--- 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);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: twl6040: remove unneeded forward declaration
2017-08-22 17:33 [PATCH] gpio: twl6040: remove unneeded forward declaration Masahiro Yamada
@ 2017-08-23 8:20 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2017-08-23 8:20 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: linux-gpio, linux-kernel
On Tue, Aug 22, 2017 at 7:33 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> There is no reference to twl6040gpo_chip before its definition.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-23 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-22 17:33 [PATCH] gpio: twl6040: remove unneeded forward declaration Masahiro Yamada
2017-08-23 8:20 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).