mmc: dw_mmc: Rename dw_mci_pltfm_pmops to dw_mci_pmops

Since it's moved to dw_mmc core and resued by others variant host
drivers, so drop the pltfm notation.

Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Shawn Lin 2026-02-11 22:00:34 +08:00 committed by Ulf Hansson
parent 517b1e3c94
commit ad1aec8f15
6 changed files with 7 additions and 7 deletions

View File

@ -73,7 +73,7 @@ static struct platform_driver dw_mci_bluefield_pltfm_driver = {
.name = "dwmmc_bluefield",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_bluefield_match,
.pm = pm_ptr(&dw_mci_pltfm_pmops),
.pm = pm_ptr(&dw_mci_pmops),
},
};

View File

@ -455,7 +455,7 @@ static struct platform_driver dw_mci_k3_pltfm_driver = {
.name = "dwmmc_k3",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_k3_match,
.pm = pm_ptr(&dw_mci_pltfm_pmops),
.pm = pm_ptr(&dw_mci_pmops),
},
};

View File

@ -84,7 +84,7 @@ static struct pci_driver dw_mci_pci_driver = {
.probe = dw_mci_pci_probe,
.remove = dw_mci_pci_remove,
.driver = {
.pm = pm_ptr(&dw_mci_pltfm_pmops),
.pm = pm_ptr(&dw_mci_pmops),
},
};

View File

@ -125,7 +125,7 @@ static struct platform_driver dw_mci_pltfm_driver = {
.name = "dw_mmc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_pltfm_match,
.pm = &dw_mci_pltfm_pmops,
.pm = pm_ptr(&dw_mci_pmops),
},
};

View File

@ -11,6 +11,6 @@
extern int dw_mci_pltfm_register(struct platform_device *pdev,
const struct dw_mci_drv_data *drv_data);
extern void dw_mci_pltfm_remove(struct platform_device *pdev);
extern const struct dev_pm_ops dw_mci_pltfm_pmops;
extern const struct dev_pm_ops dw_mci_pmops;
#endif /* _DW_MMC_PLTFM_H_ */

View File

@ -3523,11 +3523,11 @@ int dw_mci_runtime_resume(struct device *dev)
}
EXPORT_SYMBOL(dw_mci_runtime_resume);
const struct dev_pm_ops dw_mci_pltfm_pmops = {
const struct dev_pm_ops dw_mci_pmops = {
SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
RUNTIME_PM_OPS(dw_mci_runtime_suspend, dw_mci_runtime_resume, NULL)
};
EXPORT_SYMBOL_GPL(dw_mci_pltfm_pmops);
EXPORT_SYMBOL_GPL(dw_mci_pmops);
MODULE_DESCRIPTION("DW Multimedia Card Interface driver");
MODULE_AUTHOR("NXP Semiconductor VietNam");