aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJingoo Han <[email protected]>2014-04-03 14:49:50 -0700
committerLinus Torvalds <[email protected]>2014-04-03 16:21:19 -0700
commit3b6aa907f316a51345987327083aa266870d06cc (patch)
treeb5d0b9059ca1939d0562023cb1e5aa9bca131177 /tools/perf/scripts/python
parentcaa3af259d5439e28c6ed1fc0efbed994146e403 (diff)
rtc: rtc-jz4740: use devm_ioremap_resource()
Use devm_ioremap_resource() in order to make the code simpler, and move 'struct resource *mem' from 'struct jz4740_rtc' to jz4740_rtc_probe() because the 'mem' variable is used only in jz4740_rtc_probe(). 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]> Cc: Lars-Peter Clausen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions