From: Veerabhadrarao Badiganti Date: Wed, 4 Mar 2020 13:25:20 +0000 (+0530) Subject: mmc: cqhci: Update cqhci memory ioresource name X-Git-Tag: v5.15~4204^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3392339cae94b2ab01646a22f67ce464e46ed68;p=platform%2Fkernel%2Flinux-starfive.git mmc: cqhci: Update cqhci memory ioresource name Update cqhci memory ioresource name from cqhci_mem to cqhci since suffix _mem is redundant. Only sdhci-msm driver is making use of this resource as of now. No other vendor's driver is using it. So this update shouldn't affect any other vendor's cqhci functionality. Signed-off-by: Veerabhadrarao Badiganti Acked-by: Adrian Hunter Reviewed-by: Douglas Anderson Acked-by: Bjorn Andersson Link: https://lore.kernel.org/r/1583328320-9981-1-git-send-email-vbadigan@codeaurora.org Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/cqhci.c b/drivers/mmc/host/cqhci.c index d8d024a..c2239ee 100644 --- a/drivers/mmc/host/cqhci.c +++ b/drivers/mmc/host/cqhci.c @@ -1077,7 +1077,7 @@ struct cqhci_host *cqhci_pltfm_init(struct platform_device *pdev) /* check and setup CMDQ interface */ cqhci_memres = platform_get_resource_byname(pdev, IORESOURCE_MEM, - "cqhci_mem"); + "cqhci"); if (!cqhci_memres) { dev_dbg(&pdev->dev, "CMDQ not supported\n"); return ERR_PTR(-EINVAL);