Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Shawn Lin and committed by
Ulf Hansson
ad1aec8f 517b1e3c

+7 -7
+1 -1
drivers/mmc/host/dw_mmc-bluefield.c
··· 73 73 .name = "dwmmc_bluefield", 74 74 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 75 75 .of_match_table = dw_mci_bluefield_match, 76 - .pm = pm_ptr(&dw_mci_pltfm_pmops), 76 + .pm = pm_ptr(&dw_mci_pmops), 77 77 }, 78 78 }; 79 79
+1 -1
drivers/mmc/host/dw_mmc-k3.c
··· 455 455 .name = "dwmmc_k3", 456 456 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 457 457 .of_match_table = dw_mci_k3_match, 458 - .pm = pm_ptr(&dw_mci_pltfm_pmops), 458 + .pm = pm_ptr(&dw_mci_pmops), 459 459 }, 460 460 }; 461 461
+1 -1
drivers/mmc/host/dw_mmc-pci.c
··· 84 84 .probe = dw_mci_pci_probe, 85 85 .remove = dw_mci_pci_remove, 86 86 .driver = { 87 - .pm = pm_ptr(&dw_mci_pltfm_pmops), 87 + .pm = pm_ptr(&dw_mci_pmops), 88 88 }, 89 89 }; 90 90
+1 -1
drivers/mmc/host/dw_mmc-pltfm.c
··· 125 125 .name = "dw_mmc", 126 126 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 127 127 .of_match_table = dw_mci_pltfm_match, 128 - .pm = &dw_mci_pltfm_pmops, 128 + .pm = pm_ptr(&dw_mci_pmops), 129 129 }, 130 130 }; 131 131
+1 -1
drivers/mmc/host/dw_mmc-pltfm.h
··· 11 11 extern int dw_mci_pltfm_register(struct platform_device *pdev, 12 12 const struct dw_mci_drv_data *drv_data); 13 13 extern void dw_mci_pltfm_remove(struct platform_device *pdev); 14 - extern const struct dev_pm_ops dw_mci_pltfm_pmops; 14 + extern const struct dev_pm_ops dw_mci_pmops; 15 15 16 16 #endif /* _DW_MMC_PLTFM_H_ */
+2 -2
drivers/mmc/host/dw_mmc.c
··· 3523 3523 } 3524 3524 EXPORT_SYMBOL(dw_mci_runtime_resume); 3525 3525 3526 - const struct dev_pm_ops dw_mci_pltfm_pmops = { 3526 + const struct dev_pm_ops dw_mci_pmops = { 3527 3527 SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) 3528 3528 RUNTIME_PM_OPS(dw_mci_runtime_suspend, dw_mci_runtime_resume, NULL) 3529 3529 }; 3530 - EXPORT_SYMBOL_GPL(dw_mci_pltfm_pmops); 3530 + EXPORT_SYMBOL_GPL(dw_mci_pmops); 3531 3531 3532 3532 MODULE_DESCRIPTION("DW Multimedia Card Interface driver"); 3533 3533 MODULE_AUTHOR("NXP Semiconductor VietNam");