diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-11 14:02:36 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-03-09 21:43:20 +0100 |
commit | ae50b1df50ee3a4ed9a553eae906485918afd4c8 (patch) | |
tree | 33d551ea17df6878e3538797b00edf0b9f8bbc03 /drivers/i2c/busses/i2c-viperboard.c | |
parent | i2c: i801: enable Intel BayTrail SMBUS (diff) | |
download | linux-ae50b1df50ee3a4ed9a553eae906485918afd4c8.tar.xz linux-ae50b1df50ee3a4ed9a553eae906485918afd4c8.zip |
i2c: bcm2835: 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: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-viperboard.c')
0 files changed, 0 insertions, 0 deletions