summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-jz4740.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-03 21:49:49 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 23:21:19 (GMT)
commitcaa3af259d5439e28c6ed1fc0efbed994146e403 (patch)
tree4f3733ce0800fa339d4bd28b8f166223a9c39503 /drivers/rtc/rtc-jz4740.c
parent1e6789f6e2e2b1645527d08832bfb95982da17ff (diff)
downloadlinux-caa3af259d5439e28c6ed1fc0efbed994146e403.tar.xz
rtc: rtc-vt8500: use devm_ioremap_resource()
Use devm_ioremap_resource() in order to make the code simpler, and move 'struct resource *res' from 'struct vt8500_rtc' to vt8500_rtc_probe() because the 'res' variable is used only in vt8500_rtc_probe(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> Cc: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-jz4740.c')
0 files changed, 0 insertions, 0 deletions