From: Jingoo Han Date: Thu, 3 Apr 2014 21:49:49 +0000 (-0700) Subject: rtc: rtc-vt8500: use devm_ioremap_resource() X-Git-Tag: v3.15-rc1~106^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caa3af259d5439e28c6ed1fc0efbed994146e403;p=pandora-kernel.git 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 Cc: Tony Prisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed