mmc: cqhci: Update cqhci memory ioresource name
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Wed, 4 Mar 2020 13:25:20 +0000 (18:55 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:39:52 +0000 (14:39 +0100)
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 <vbadigan@codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1583328320-9981-1-git-send-email-vbadigan@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cqhci.c

index d8d024a..c2239ee 100644 (file)
@@ -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);