Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jingoo Han and committed by
Linus Walleij
c829f956 3e3bed91

+1 -1
+1 -1
drivers/gpio/gpio-ep93xx.c
··· 352 352 return -ENOMEM; 353 353 354 354 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 355 - ep93xx_gpio->mmio_base = devm_request_and_ioremap(dev, res); 355 + ep93xx_gpio->mmio_base = devm_ioremap_resource(dev, res); 356 356 if (IS_ERR(ep93xx_gpio->mmio_base)) 357 357 return PTR_ERR(ep93xx_gpio->mmio_base); 358 358