summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-04 01:49:50 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 03:21:19 +0400
commit3b6aa907f316a51345987327083aa266870d06cc (patch)
treeb5d0b9059ca1939d0562023cb1e5aa9bca131177 /sound
parentcaa3af259d5439e28c6ed1fc0efbed994146e403 (diff)
downloadlinux-3b6aa907f316a51345987327083aa266870d06cc.tar.xz
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 <jg1.han@samsung.com> Cc: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions