watchdog: mtx1-wdt: use devm_gpio_request_one()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 09:30:43 +0000 (18:30 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 19:04:05 +0000 (21:04 +0200)
commitd3a33a9500f262a40fcf3a9b9b9c3e03890b14dd
tree8879face06b0947e9e521340c3835b37102c058b
parent07bf971a38427e2659603468e5947c39754edb13
watchdog: mtx1-wdt: use devm_gpio_request_one()

Use devm_gpio_request_one() to make cleanup paths simpler.

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/mtx-1_wdt.c