diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-27 10:25:51 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-27 18:00:58 +0400 |
commit | c829f956f14b61cd6c390c5daced537613798239 (patch) | |
tree | f184c926d05bc989fe87b4ab720fd5bb9f286b6d /drivers/gpio | |
parent | 3e3bed913e8bbd78f38cefd5d575475f45c05dd0 (diff) | |
download | linux-c829f956f14b61cd6c390c5daced537613798239.tar.xz |
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')
-rw-r--r-- | drivers/gpio/gpio-ep93xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c index dd39f27f3cb2..dcc2bb4074ef 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); |