]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: wm831x_wdt: use devm_gpio_request_one()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 09:31:20 +0000 (18:31 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 19:05:02 +0000 (21:05 +0200)
commit7a5da030c6ecdd6229f079902a17e641c7f2fbd6
tree6095e61e2162dd3073da533f7db3f79487a80353
parentd3a33a9500f262a40fcf3a9b9b9c3e03890b14dd
watchdog: wm831x_wdt: use devm_gpio_request_one()

Use devm_gpio_request_one() to make cleanup paths simpler.
Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with
GPIOF_OUT_INIT_LOW.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/wm831x_wdt.c