Message ID | 1378968396-18604-1-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 12 September 2013 12:16, Sachin Kamat <sachin.kamat@linaro.org> wrote: > devm_request_and_ioremap() is deprecated. Use devm_ioremap_resource() > instead. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Gentle ping on this series Chris.
Hi Sachin, On Tue, Sep 24 2013, Sachin Kamat wrote: > On 12 September 2013 12:16, Sachin Kamat <sachin.kamat@linaro.org> wrote: >> devm_request_and_ioremap() is deprecated. Use devm_ioremap_resource() >> instead. >> >> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > > Gentle ping on this series Chris. Thanks, all pushed to mmc-next for 3.13. - Chris.
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 06c5b0b..a592407 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) spin_lock_init(&host->lock); - host->base = devm_request_and_ioremap(&pdev->dev, r); - if (!host->base) { - ret = -ENOMEM; + host->base = devm_ioremap_resource(&pdev->dev, r); + if (IS_ERR(host->base)) { + ret = PTR_ERR(host->base); goto out; }
devm_request_and_ioremap() is deprecated. Use devm_ioremap_resource() instead. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/mmc/host/mvsdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)