diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-03 23:49:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 01:21:18 +0200 |
commit | daaf90f0b014106e5672381c7b576a149b346dd9 (patch) | |
tree | 4ca2afc121075d3e0c37d402199e137d2f22476f /drivers/rtc/rtc-davinci.c | |
parent | rtc: rtc-spear: remove unnecessary OOM messages (diff) | |
download | linux-daaf90f0b014106e5672381c7b576a149b346dd9.tar.xz linux-daaf90f0b014106e5672381c7b576a149b346dd9.zip |
rtc: rtc-coh901331: 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>
Acked-by: Linus Walleij <linus.walleij@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-davinci.c')
0 files changed, 0 insertions, 0 deletions