diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-12 03:51:38 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-24 14:44:43 +0100 |
commit | 717f70e39a98867751f6a3eb94cc281f3da32685 (patch) | |
tree | 557125cfe41724773950341d32b5e182b0b8f6ff /drivers/gpio/gpio-davinci.c | |
parent | gpio: pl061: Use devm_ioremap_resource() (diff) | |
download | linux-717f70e39a98867751f6a3eb94cc281f3da32685.tar.xz linux-717f70e39a98867751f6a3eb94cc281f3da32685.zip |
gpio: omap: 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>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions