summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ep93xx.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-27 15:25:51 +0900
committerLinus Walleij <linus.walleij@linaro.org>2014-05-27 16:00:58 +0200
commitc829f956f14b61cd6c390c5daced537613798239 (patch)
treef184c926d05bc989fe87b4ab720fd5bb9f286b6d /drivers/gpio/gpio-ep93xx.c
parent3e3bed913e8bbd78f38cefd5d575475f45c05dd0 (diff)
downloadop-kernel-dev-c829f956f14b61cd6c390c5daced537613798239.zip
op-kernel-dev-c829f956f14b61cd6c390c5daced537613798239.tar.gz
gpio: ep93xx: Use devm_ioremap_resource()
Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ep93xx.c')
-rw-r--r--drivers/gpio/gpio-ep93xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c
index dd39f27..dcc2bb4 100644
--- a/drivers/gpio/gpio-ep93xx.c
+++ b/drivers/gpio/gpio-ep93xx.c
@@ -352,7 +352,7 @@ static int ep93xx_gpio_probe(struct platform_device *pdev)
return -ENOMEM;
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- ep93xx_gpio->mmio_base = devm_request_and_ioremap(dev, res);
+ ep93xx_gpio->mmio_base = devm_ioremap_resource(dev, res);
if (IS_ERR(ep93xx_gpio->mmio_base))
return PTR_ERR(ep93xx_gpio->mmio_base);
OpenPOWER on IntegriCloud