commit | 1e6789f6e2e2b1645527d08832bfb95982da17ff | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Apr 03 14:49:48 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Apr 03 16:21:18 2014 -0700 |
tree | 3b1a147d4d7f9a7bca56a4ab08787cd9ac5cc45a | |
parent | daaf90f0b014106e5672381c7b576a149b346dd9 [diff] |
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>