summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-designware-pcidrv.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-03-10 08:34:10 +0900
committerWolfram Sang <wsa@the-dreams.de>2014-03-10 08:29:37 +0100
commit0977f27338777fab04e20f769b869bc7726ab0ac (patch)
tree003b073cc51d864eb5630c1d18d9b8a9197966a8 /drivers/i2c/busses/i2c-designware-pcidrv.c
parentae50b1df50ee3a4ed9a553eae906485918afd4c8 (diff)
downloadop-kernel-dev-0977f27338777fab04e20f769b869bc7726ab0ac.zip
op-kernel-dev-0977f27338777fab04e20f769b869bc7726ab0ac.tar.gz
i2c: mxs: 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: Shawn Guo <shawn.guo@linaro.org> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-pcidrv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud