watchdog: ep93xx_wdt: Use devm_ioremap_resource()
authorJingoo Han <jg1.han@samsung.com>
Tue, 11 Feb 2014 12:41:54 +0000 (21:41 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:24:14 +0000 (13:24 +0200)
commit4f6120b014c6a981a57a8951e01acfead1a57069
tree87f85a6d6ab757c0b0ecaaee723b0762cf30210d
parenta17fb5cbee5dffcb93aeb4b71e2ef9e0eeec0bc2
watchdog: ep93xx_wdt: Use devm_ioremap_resource()

Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because the value is checked by devm_ioremap_resource().

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/ep93xx_wdt.c