aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mvsdio.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-12 02:46:34 -0400
committerChris Ball <cjb@laptop.org>2013-09-25 21:57:16 -0400
commite02d2930040f993922e9c4449e3d90c8040cfedc (patch)
treef5aeba5c5a62a0d6839773212f46c511ba8c8b27 /drivers/mmc/host/mvsdio.c
parent71ef1ea418ee45a4f939d53a02410627b394c336 (diff)
mmc: mvsdio: Convert to devm_ioremap_resource
devm_request_and_ioremap() is deprecated. Use devm_ioremap_resource() instead. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/mvsdio.c')
-rw-r--r--drivers/mmc/host/mvsdio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
index 06c5b0b28ebc..a592407d2de6 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -775,9 +775,9 @@ static int __init mvsd_probe(struct platform_device *pdev)
775 775
776 spin_lock_init(&host->lock); 776 spin_lock_init(&host->lock);
777 777
778 host->base = devm_request_and_ioremap(&pdev->dev, r); 778 host->base = devm_ioremap_resource(&pdev->dev, r);
779 if (!host->base) { 779 if (IS_ERR(host->base)) {
780 ret = -ENOMEM; 780 ret = PTR_ERR(host->base);
781 goto out; 781 goto out;
782 } 782 }
783 783