diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-29 13:31:20 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2013-07-11 23:05:02 +0400 |
commit | 7a5da030c6ecdd6229f079902a17e641c7f2fbd6 (patch) | |
tree | 6095e61e2162dd3073da533f7db3f79487a80353 /drivers/watchdog/alim1535_wdt.c | |
parent | d3a33a9500f262a40fcf3a9b9b9c3e03890b14dd (diff) | |
download | linux-7a5da030c6ecdd6229f079902a17e641c7f2fbd6.tar.xz |
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>
Diffstat (limited to 'drivers/watchdog/alim1535_wdt.c')
0 files changed, 0 insertions, 0 deletions