diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-11 13:44:12 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-03-31 13:24:31 +0200 |
commit | 6e272061391946fe28cadd5f9fbab1bab82b3748 (patch) | |
tree | 877a80a683a420b6a9fc8b102551ea9a19d54ad3 /fs | |
parent | watchdog: ep93xx_wdt: Use devm_ioremap_resource() (diff) | |
download | linux-6e272061391946fe28cadd5f9fbab1bab82b3748.tar.xz linux-6e272061391946fe28cadd5f9fbab1bab82b3748.zip |
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 'fs')
0 files changed, 0 insertions, 0 deletions