diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-03 23:49:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 01:21:18 +0200 |
commit | 1e6789f6e2e2b1645527d08832bfb95982da17ff (patch) | |
tree | 3b1a147d4d7f9a7bca56a4ab08787cd9ac5cc45a /drivers/rtc/rtc-vt8500.c | |
parent | rtc: rtc-coh901331: use devm_ioremap_resource() (diff) | |
download | linux-1e6789f6e2e2b1645527d08832bfb95982da17ff.tar.xz linux-1e6789f6e2e2b1645527d08832bfb95982da17ff.zip |
rtc: rtc-davinci: use devm_ioremap_resource()
Use devm_ioremap_resource() in order to make the code simpler, and
remove redundant return value check of platform_get_resource() because
the value is checked by devm_ioremap_resource().
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-vt8500.c')
0 files changed, 0 insertions, 0 deletions