Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e02d2930 authored by Sachin Kamat's avatar Sachin Kamat Committed by Chris Ball
Browse files

mmc: mvsdio: Convert to devm_ioremap_resource



devm_request_and_ioremap() is deprecated. Use devm_ioremap_resource()
instead.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 71ef1ea4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
	}