diff options
author | Jingoo Han <[email protected]> | 2014-02-11 21:44:12 +0900 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2014-03-31 13:24:31 +0200 |
commit | 6e272061391946fe28cadd5f9fbab1bab82b3748 (patch) | |
tree | 877a80a683a420b6a9fc8b102551ea9a19d54ad3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 4f6120b014c6a981a57a8951e01acfead1a57069 (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 <[email protected]>
Acked-by: Aaro Koskinen <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions