watchdog: gpio: Add some local helper variables
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 8 Oct 2017 23:28:46 +0000 (01:28 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 28 Dec 2017 19:44:56 +0000 (20:44 +0100)
commitd0d0677e8fdfba18582bb2dc4bd07189da598e1d
treebc91743e4f071417f0b04a03a1b273f228ccf97b
parent1bfe8889380890efe4943d125124f5a7b48571b0
watchdog: gpio: Add some local helper variables

This add "dev" and "np" variables to make the probe() function
a bit easier to read.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/gpio_wdt.c