summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sp805_wdt.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-11 21:44:12 +0900
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 13:24:31 +0200
commit6e272061391946fe28cadd5f9fbab1bab82b3748 (patch)
tree877a80a683a420b6a9fc8b102551ea9a19d54ad3 /drivers/watchdog/sp805_wdt.c
parent4f6120b014c6a981a57a8951e01acfead1a57069 (diff)
watchdog: omap_wdt: Use devm_ioremap_resource()
Use devm_ioremap_resource() in order to make the code simpler, and remove 'struct resource *mem' from 'struct omap_wdt_dev' and omap_wdt_probe(), resplectively. because the 'mem' variables are not used anymore. Also the redundant return value check of platform_get_resource() is removed, because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/sp805_wdt.c')
0 files changed, 0 insertions, 0 deletions