projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e3bed9
)
gpio: ep93xx: Use devm_ioremap_resource()
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 27 May 2014 06:25:51 +0000
(15:25 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 27 May 2014 14:00:58 +0000
(16:00 +0200)
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>
drivers/gpio/gpio-ep93xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-ep93xx.c
b/drivers/gpio/gpio-ep93xx.c
index dd39f27f3cb28a444b8d7ab14b741c44fb5ac465..dcc2bb4074ef5db8dc2adc5a3cbfc8c331b0de3a 100644
(file)
--- 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);