]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: host: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:56 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:56 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/mmc/host/au1xmmc.c
drivers/mmc/host/davinci_mmc.c
drivers/mmc/host/sdhci-acpi.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/usdhi6rol0.c
drivers/mmc/host/wbsd.c
drivers/mmc/host/wmt-sdmmc.c

index 725f6a6fd89b425b83cffb9e093d55d819a5078f..ed77fbfa477404c477407f60567d2b19197e0805 100644 (file)
@@ -1206,7 +1206,6 @@ static struct platform_driver au1xmmc_driver = {
        .resume        = au1xmmc_resume,
        .driver        = {
                .name  = DRIVER_NAME,
-               .owner = THIS_MODULE,
        },
 };
 
index 5d4c5e0fba2f8d43706a909a1e404467c063de68..1625f908dc70bbab91658c49da3a0e47a4f516bd 100644 (file)
@@ -1466,7 +1466,6 @@ static const struct dev_pm_ops davinci_mmcsd_pm = {
 static struct platform_driver davinci_mmcsd_driver = {
        .driver         = {
                .name   = "davinci_mmc",
-               .owner  = THIS_MODULE,
                .pm     = davinci_mmcsd_pm_ops,
                .of_match_table = davinci_mmc_dt_ids,
        },
index 9cccc0e89b0435928ca375d8b1640c5008cc6551..4e064c8cec9722814edb75e5b956cc44f0fda88d 100644 (file)
@@ -449,7 +449,6 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = {
 static struct platform_driver sdhci_acpi_driver = {
        .driver = {
                .name                   = "sdhci-acpi",
-               .owner                  = THIS_MODULE,
                .acpi_match_table       = sdhci_acpi_ids,
                .pm                     = &sdhci_acpi_pm_ops,
        },
index 659028ddb8b17e052721b0c8e9791ffbf598cd19..bcf3c94c415f2efeee14e23341f47e899e83d2f7 100644 (file)
@@ -143,7 +143,6 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
 static struct platform_driver tmio_mmc_driver = {
        .driver = {
                .name = "tmio-mmc",
-               .owner = THIS_MODULE,
                .pm = &tmio_mmc_dev_pm_ops,
        },
        .probe = tmio_mmc_probe,
index f0a39eb049af819cb5a15e35f4d9e6c62a66bd8e..54b082b1804a5c05973a16e196d3dbd40f1c1779 100644 (file)
@@ -1834,7 +1834,6 @@ static struct platform_driver usdhi6_driver = {
        .remove         = usdhi6_remove,
        .driver         = {
                .name   = "usdhi6rol0",
-               .owner  = THIS_MODULE,
                .of_match_table = usdhi6_of_match,
        },
 };
index 9a6dfb0c4eccb54f2afa8514f6e5ded1dab9f202..ca183ea767b32b5bace0ab819b32fdb251bb4314 100644 (file)
@@ -1914,7 +1914,6 @@ static struct platform_driver wbsd_driver = {
        .resume         = wbsd_platform_resume,
        .driver         = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 
index 54181b4f6e9eab58cdb057e6d3d85b92ee2cadf0..dd2e1aa95ba3fa4c999bfb25dc9fd3a7d3f08982 100644 (file)
@@ -991,7 +991,6 @@ static struct platform_driver wmt_mci_driver = {
        .remove = wmt_mci_remove,
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .pm = wmt_mci_pm_ops,
                .of_match_table = wmt_mci_dt_ids,
        },