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

Commit fa243f64 authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: sdhci-pltfm: Drop define for SDHCI_PLTFM_PMOPS



Due to previous changes this define has no longer a purpose. Instead move
the sdhci-pltfm drivers over to use the exported struct sdhci_pltfm_pmops.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2b330999
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -326,7 +326,7 @@ static int sdhci_bcm_kona_probe(struct platform_device *pdev)
static struct platform_driver sdhci_bcm_kona_driver = {
	.driver		= {
		.name	= "sdhci-kona",
		.pm	= SDHCI_PLTFM_PMOPS,
		.pm	= &sdhci_pltfm_pmops,
		.of_match_table = sdhci_bcm_kona_of_match,
	},
	.probe		= sdhci_bcm_kona_probe,
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ static int sdhci_cns3xxx_probe(struct platform_device *pdev)
static struct platform_driver sdhci_cns3xxx_driver = {
	.driver		= {
		.name	= "sdhci-cns3xxx",
		.pm	= SDHCI_PLTFM_PMOPS,
		.pm	= &sdhci_pltfm_pmops,
	},
	.probe		= sdhci_cns3xxx_probe,
	.remove		= sdhci_pltfm_unregister,
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ MODULE_DEVICE_TABLE(of, sdhci_dove_of_match_table);
static struct platform_driver sdhci_dove_driver = {
	.driver		= {
		.name	= "sdhci-dove",
		.pm	= SDHCI_PLTFM_PMOPS,
		.pm	= &sdhci_pltfm_pmops,
		.of_match_table = sdhci_dove_of_match_table,
	},
	.probe		= sdhci_dove_probe,
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ static struct platform_driver sdhci_iproc_driver = {
	.driver = {
		.name = "sdhci-iproc",
		.of_match_table = sdhci_iproc_of_match,
		.pm = SDHCI_PLTFM_PMOPS,
		.pm = &sdhci_pltfm_pmops,
	},
	.probe = sdhci_iproc_probe,
	.remove = sdhci_pltfm_unregister,
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ static struct platform_driver sdhci_hlwd_driver = {
	.driver = {
		.name = "sdhci-hlwd",
		.of_match_table = sdhci_hlwd_of_match,
		.pm = SDHCI_PLTFM_PMOPS,
		.pm = &sdhci_pltfm_pmops,
	},
	.probe = sdhci_hlwd_probe,
	.remove = sdhci_pltfm_unregister,
Loading