pcmcia: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:21 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:21 +0000 (16:21 +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>
14 files changed:
drivers/pcmcia/at91_cf.c
drivers/pcmcia/bfin_cf_pcmcia.c
drivers/pcmcia/db1xxx_ss.c
drivers/pcmcia/electra_cf.c
drivers/pcmcia/i82365.c
drivers/pcmcia/m32r_cfc.c
drivers/pcmcia/m32r_pcc.c
drivers/pcmcia/omap_cf.c
drivers/pcmcia/pxa2xx_base.c
drivers/pcmcia/pxa2xx_viper.c
drivers/pcmcia/sa1100_generic.c
drivers/pcmcia/tcic.c
drivers/pcmcia/vrc4171_card.c
drivers/pcmcia/xxs1500_ss.c

index de24232c5191040fa0aa3607d12a7d3fd2a0d4ae..bfb799c7b343a055edd97b621c1f85f8ed79e873 100644 (file)
@@ -401,7 +401,6 @@ static int at91_cf_resume(struct platform_device *pdev)
 static struct platform_driver at91_cf_driver = {
        .driver = {
                .name           = "at91_cf",
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(at91_cf_dt_ids),
        },
        .probe          = at91_cf_probe,
index 971991bab975a2ec0c91ab2724b9dd8c7f9cb90d..bba1dcbb80753b582948009c9bb2bc36b5b1b10c 100644 (file)
@@ -304,7 +304,6 @@ static int bfin_cf_remove(struct platform_device *pdev)
 static struct platform_driver bfin_cf_driver = {
        .driver = {
                   .name = driver_name,
-                  .owner = THIS_MODULE,
                   },
        .probe = bfin_cf_probe,
        .remove = bfin_cf_remove,
index a31e69ea99f367ed7fb46e312c0290acecbc5d65..4c2fa05b4589e2095db8430b77fe338077a6c7d7 100644 (file)
@@ -574,7 +574,6 @@ static int db1x_pcmcia_socket_remove(struct platform_device *pdev)
 static struct platform_driver db1x_pcmcia_socket_driver = {
        .driver = {
                .name   = "db1xxx_pcmcia",
-               .owner  = THIS_MODULE,
        },
        .probe          = db1x_pcmcia_socket_probe,
        .remove         = db1x_pcmcia_socket_remove,
index 5ea64d0f61abf87bd6c7767083b2dec4e52447fc..7f9950d324df037772f605e3f47a021269858411 100644 (file)
@@ -360,7 +360,6 @@ MODULE_DEVICE_TABLE(of, electra_cf_match);
 static struct platform_driver electra_cf_driver = {
        .driver = {
                .name = driver_name,
-               .owner = THIS_MODULE,
                .of_match_table = electra_cf_match,
        },
        .probe    = electra_cf_probe,
index e6f3d17dd2b4d296d39ad2a0a22d3c2c01bec362..a2c138719bac80907a86b2c3e70c871af8283f51 100644 (file)
@@ -1233,7 +1233,6 @@ static struct pccard_operations pcic_operations = {
 static struct platform_driver i82365_driver = {
        .driver = {
                .name = "i82365",
-               .owner          = THIS_MODULE,
        },
 };
 
index a26f38c6402afc82343d019bc2d5cd48efc4f7a9..0075bd7162ed1d3c5bd3816b2cb447a5b3b3e34f 100644 (file)
@@ -687,7 +687,6 @@ static struct pccard_operations pcc_operations = {
 static struct platform_driver pcc_driver = {
        .driver = {
                .name           = "cfc",
-               .owner          = THIS_MODULE,
        },
 };
 
index 296514155cd59cafa1292ca28bad72534d9916e4..a77e571b08b8ffe4974ba5199336028bf45a7884 100644 (file)
@@ -664,7 +664,6 @@ static struct pccard_operations pcc_operations = {
 static struct platform_driver pcc_driver = {
        .driver = {
                .name           = "pcc",
-               .owner          = THIS_MODULE,
        },
 };
 
index 25c4b1993b3dc38c84f8813d2479d6ad653c0cc0..8170102d1e9389d166396b5699ea480f2ec2e099 100644 (file)
@@ -334,7 +334,6 @@ static int __exit omap_cf_remove(struct platform_device *pdev)
 static struct platform_driver omap_cf_driver = {
        .driver = {
                .name   = (char *) driver_name,
-               .owner  = THIS_MODULE,
        },
        .remove         = __exit_p(omap_cf_remove),
 };
index cfec9dd18ff5463813d3238aeba9873f164b4703..984a8ff559d8870feec86e637e8d84e37f2f2d7b 100644 (file)
@@ -368,7 +368,6 @@ static struct platform_driver pxa2xx_pcmcia_driver = {
        .remove         = pxa2xx_drv_pcmcia_remove,
        .driver         = {
                .name   = "pxa2xx-pcmcia",
-               .owner  = THIS_MODULE,
                .pm     = &pxa2xx_drv_pcmcia_pm_ops,
        },
 };
index a76f495953abb6218486de1aaa3cbdfef1f0a67b..7ac6647d286eb326933dcd9028bb5b9badf3271c 100644 (file)
@@ -172,7 +172,6 @@ static struct platform_driver viper_pcmcia_driver = {
        .remove         = viper_pcmcia_remove,
        .driver         = {
                .name   = "arcom-pcmcia",
-               .owner  = THIS_MODULE,
        },
        .id_table       = viper_pcmcia_id_table,
 };
index ff8a027a4afb2b9c17fe075eeaba19ba9c91f84a..42861cc70158059e07a73afb7109a19fb5877ee7 100644 (file)
@@ -100,7 +100,6 @@ static int sa11x0_drv_pcmcia_remove(struct platform_device *dev)
 static struct platform_driver sa11x0_pcmcia_driver = {
        .driver = {
                .name           = "sa11x0-pcmcia",
-               .owner          = THIS_MODULE,
        },
        .probe          = sa11x0_drv_pcmcia_probe,
        .remove         = sa11x0_drv_pcmcia_remove,
index cbe15fc37411943e0a0686966973f0476d16cfc0..1ee63e5f0550329e9b8adbd9e34c9c03e0e3a088 100644 (file)
@@ -349,7 +349,6 @@ static int __init get_tcic_id(void)
 static struct platform_driver tcic_driver = {
        .driver = {
                .name = "tcic-pcmcia",
-               .owner          = THIS_MODULE,
        },
 };
 
index d98a086124922badf7403c583690c7866e6d2271..21973d55a0550cc5f07188a00b4cb7139ecab9ec 100644 (file)
@@ -709,7 +709,6 @@ __setup("vrc4171_card=", vrc4171_card_setup);
 static struct platform_driver vrc4171_card_driver = {
        .driver = {
                .name           = vrc4171_card_name,
-               .owner          = THIS_MODULE,
        },
 };
 
index 95f5b270ad440783bb7916e5005323ca0e211844..4c04360f378bb94037b77c1283bc47bd245b7b7c 100644 (file)
@@ -314,7 +314,6 @@ static int xxs1500_pcmcia_remove(struct platform_device *pdev)
 static struct platform_driver xxs1500_pcmcia_socket_driver = {
        .driver = {
                .name   = "xxs1500_pcmcia",
-               .owner  = THIS_MODULE,
        },
        .probe          = xxs1500_pcmcia_probe,
        .remove         = xxs1500_pcmcia_remove,