ata: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:17 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:17 +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>
27 files changed:
drivers/ata/ahci_da850.c
drivers/ata/ahci_imx.c
drivers/ata/ahci_mvebu.c
drivers/ata/ahci_platform.c
drivers/ata/ahci_st.c
drivers/ata/ahci_sunxi.c
drivers/ata/ahci_xgene.c
drivers/ata/pata_arasan_cf.c
drivers/ata/pata_at32.c
drivers/ata/pata_at91.c
drivers/ata/pata_bf54x.c
drivers/ata/pata_ep93xx.c
drivers/ata/pata_imx.c
drivers/ata/pata_ixp4xx_cf.c
drivers/ata/pata_mpc52xx.c
drivers/ata/pata_octeon_cf.c
drivers/ata/pata_of_platform.c
drivers/ata/pata_palmld.c
drivers/ata/pata_platform.c
drivers/ata/pata_pxa.c
drivers/ata/pata_rb532_cf.c
drivers/ata/pata_samsung_cf.c
drivers/ata/sata_dwc_460ex.c
drivers/ata/sata_fsl.c
drivers/ata/sata_highbank.c
drivers/ata/sata_mv.c
drivers/ata/sata_rcar.c

index ad1e71ec10cfce8755a33e1624aaddd5cd0936aa..ce8a7a6d6c7fee3c8f28aa5c3367bd566bdf23e8 100644 (file)
@@ -103,7 +103,6 @@ static struct platform_driver ahci_da850_driver = {
        .remove = ata_platform_remove_one,
        .driver = {
                .name = "ahci_da850",
-               .owner = THIS_MODULE,
                .pm = &ahci_da850_pm_ops,
        },
 };
index f3970b4ed889e9abbeafae96f8bdff69d77fcd00..35d51c59a370d5c6dbbfe7a3e36a2808754434e7 100644 (file)
@@ -679,7 +679,6 @@ static struct platform_driver imx_ahci_driver = {
        .remove = ata_platform_remove_one,
        .driver = {
                .name = "ahci-imx",
-               .owner = THIS_MODULE,
                .of_match_table = imx_ahci_of_match,
                .pm = &ahci_imx_pm_ops,
        },
index 68672d2692ee25e5ce1ceebd7aa9d91d62332c1e..64bb08432b6965208505aed9e297d0cb73d11b0a 100644 (file)
@@ -115,7 +115,6 @@ static struct platform_driver ahci_mvebu_driver = {
        .remove = ata_platform_remove_one,
        .driver = {
                .name = "ahci-mvebu",
-               .owner = THIS_MODULE,
                .of_match_table = ahci_mvebu_of_match,
        },
 };
index 06f1d59fa678fe8da1da0b90d730025aca689796..18d539837045db4422712038164d7270b5562080 100644 (file)
@@ -76,7 +76,6 @@ static struct platform_driver ahci_driver = {
        .remove = ata_platform_remove_one,
        .driver = {
                .name = "ahci",
-               .owner = THIS_MODULE,
                .of_match_table = ahci_of_match,
                .pm = &ahci_pm_ops,
        },
index 835d6eea84fdc3501bd16af13acea6bba1873f74..2f9e8317cc168690f757d41b3a3eda3c186d0259 100644 (file)
@@ -230,7 +230,6 @@ MODULE_DEVICE_TABLE(of, st_ahci_match);
 static struct platform_driver st_ahci_driver = {
        .driver = {
                .name = "st_ahci",
-               .owner = THIS_MODULE,
                .pm = &st_ahci_pm_ops,
                .of_match_table = of_match_ptr(st_ahci_match),
        },
index e44d675a30eca1714f1b8b6a18e1503c5cc322ee..afe5581e9b1fe2f5fa8b25d3874d39f9be19a211 100644 (file)
@@ -238,7 +238,6 @@ static struct platform_driver ahci_sunxi_driver = {
        .remove = ata_platform_remove_one,
        .driver = {
                .name = "ahci-sunxi",
-               .owner = THIS_MODULE,
                .of_match_table = ahci_sunxi_of_match,
                .pm = &ahci_sunxi_pm_ops,
        },
index 0f8538f238b63f60fb323e075f6f721c5e22c16a..feeb8f1e2fe845e8f63ede5363c34b6dee64803d 100644 (file)
@@ -544,7 +544,6 @@ static struct platform_driver xgene_ahci_driver = {
        .remove = ata_platform_remove_one,
        .driver = {
                .name = "xgene-ahci",
-               .owner = THIS_MODULE,
                .of_match_table = xgene_ahci_of_match,
        },
 };
index 38216b991474d41192ab0c41d9b2265f5fa98ae3..a9b0c820f2ebc7028cb933b7b021e42b3c6a7930 100644 (file)
@@ -961,7 +961,6 @@ static struct platform_driver arasan_cf_driver = {
        .remove         = arasan_cf_remove,
        .driver         = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
                .pm     = &arasan_cf_pm_ops,
                .of_match_table = of_match_ptr(arasan_cf_id_table),
        },
index d59d5239405f934c5bf9f8186719819f55c9dfc6..9aeb7a6dd4d4da8766a08ec7b423ec56358f1980 100644 (file)
@@ -389,7 +389,6 @@ static struct platform_driver pata_at32_driver = {
        .remove        = __exit_p(pata_at32_remove),
        .driver        = {
                .name  = "at32_ide",
-               .owner = THIS_MODULE,
        },
 };
 
index 8a66f23af4c40bd0ffd9e01776c02a16b26f0584..9e85937d36a91421de5ffe5e8671690ba26c1f57 100644 (file)
@@ -444,7 +444,6 @@ static struct platform_driver pata_at91_driver = {
        .remove         = pata_at91_remove,
        .driver         = {
                .name           = DRV_NAME,
-               .owner          = THIS_MODULE,
        },
 };
 
index 03f2f2bc83bdc19384e2d508cdcb5aecedee08de..dd7410019d15a2fec471441fbfdeabe60cfcb309 100644 (file)
@@ -1657,7 +1657,6 @@ static struct platform_driver bfin_atapi_driver = {
        .resume                 = bfin_atapi_resume,
        .driver = {
                .name           = DRV_NAME,
-               .owner          = THIS_MODULE,
        },
 };
 
index 4d37c5415fc7fec23ba0120a917d706362709770..bd6b089c67a3aa220fa2aaf3803f8eb7737b2d4d 100644 (file)
@@ -1021,7 +1021,6 @@ static int ep93xx_pata_remove(struct platform_device *pdev)
 static struct platform_driver ep93xx_pata_platform_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
        },
        .probe = ep93xx_pata_probe,
        .remove = ep93xx_pata_remove,
index 989ff5ac69ecc8a583271003518037d121e561d1..139d20778b298e24ae0418adca80cbff4eff0168 100644 (file)
@@ -240,7 +240,6 @@ static struct platform_driver pata_imx_driver = {
        .driver = {
                .name           = DRV_NAME,
                .of_match_table = imx_pata_dt_ids,
-               .owner          = THIS_MODULE,
                .pm             = &pata_imx_pm_ops,
        },
 };
index ddf470c2341d7f1f153b7d7776fa873b9c7906f3..abda44183512263c7b806eec2b3d2c2210d64326 100644 (file)
@@ -193,7 +193,6 @@ static int ixp4xx_pata_probe(struct platform_device *pdev)
 static struct platform_driver ixp4xx_pata_platform_driver = {
        .driver  = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = ixp4xx_pata_probe,
        .remove         = ata_platform_remove_one,
index ccd1c83a05cc3ecbda025c4910676f2436984630..252ba27fa63baba8d10423d0d288dadeee1a7926 100644 (file)
@@ -863,7 +863,6 @@ static struct platform_driver mpc52xx_ata_of_platform_driver = {
 #endif
        .driver         = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = mpc52xx_ata_of_match,
        },
 };
index 2a97d3a531ece7d9fdcedfca294f007ec21e25a9..80a80548ad0a80acf28c3407e6a6048825f92af3 100644 (file)
@@ -1059,7 +1059,6 @@ static struct platform_driver octeon_cf_driver = {
        .probe          = octeon_cf_probe,
        .driver         = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = octeon_cf_match,
                .shutdown = octeon_cf_shutdown
        },
index 64965398914a7b28cf78b11cffd2e129c7de5890..dcc408abe17124c7fad39d84f2e2a7739d441ec3 100644 (file)
@@ -75,7 +75,6 @@ MODULE_DEVICE_TABLE(of, pata_of_platform_match);
 static struct platform_driver pata_of_platform_driver = {
        .driver = {
                .name = "pata_of_platform",
-               .owner = THIS_MODULE,
                .of_match_table = pata_of_platform_match,
        },
        .probe          = pata_of_platform_probe,
index df2bb7504fc8e073650c271dd147d4d75cbf26a5..8c0d7d736b7afd81b1146536527efc3b46bab42e 100644 (file)
@@ -124,7 +124,6 @@ static int palmld_pata_remove(struct platform_device *dev)
 static struct platform_driver palmld_pata_platform_driver = {
        .driver  = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = palmld_pata_probe,
        .remove         = palmld_pata_remove,
index f8cff3e247c525c339110c3b452d9fb3bc03bd7e..1eedfe46d7c833e3d7cf6ea7fb9258cfc01683cc 100644 (file)
@@ -224,7 +224,6 @@ static struct platform_driver pata_platform_driver = {
        .remove         = ata_platform_remove_one,
        .driver = {
                .name           = DRV_NAME,
-               .owner          = THIS_MODULE,
        },
 };
 
index 73259bfda1e364e5e99b89aec1a6ae99400f6297..c36b3e6531d89f482a73299ea28c54b7da13a668 100644 (file)
@@ -385,7 +385,6 @@ static struct platform_driver pxa_ata_driver = {
        .remove         = pxa_ata_remove,
        .driver         = {
                .name           = DRV_NAME,
-               .owner          = THIS_MODULE,
        },
 };
 
index 3c5eb8fa6bd1f6e3538979e8b588f72dfda4cd72..6d08446b877c9721564b271b48b7ad6dfe7fe5ec 100644 (file)
@@ -193,7 +193,6 @@ static struct platform_driver rb532_pata_platform_driver = {
        .remove         = rb532_pata_driver_remove,
        .driver  = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 
index 1a24a5dc39400705e709853908070ff9a4e3f45b..fa44eb2872db9164dced31d3fb8f3b217740e5db 100644 (file)
@@ -656,7 +656,6 @@ static struct platform_driver pata_s3c_driver = {
        .id_table       = pata_s3c_driver_ids,
        .driver         = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
 #ifdef CONFIG_PM_SLEEP
                .pm     = &pata_s3c_pm_ops,
 #endif
index 0bb2cabd2197bba01c0b4dd175f662a353eba076..c7ddef89e7b02695509a5fa3076d6953435d4b86 100644 (file)
@@ -1807,7 +1807,6 @@ MODULE_DEVICE_TABLE(of, sata_dwc_match);
 static struct platform_driver sata_dwc_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = sata_dwc_match,
        },
        .probe = sata_dwc_probe,
index 07bc7e4dbd04b836722d42b1051dc3da33f99a9d..42174158d10f2a8d3681a33c422090a03368ffbf 100644 (file)
@@ -1624,7 +1624,6 @@ MODULE_DEVICE_TABLE(of, fsl_sata_match);
 static struct platform_driver fsl_sata_driver = {
        .driver = {
                .name = "fsl-sata",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_sata_match,
        },
        .probe          = sata_fsl_probe,
index ce2b99a1ed70211bfe54818e3510df8b8b71a4de..24e311fe2c1c3ebf90431b99f67e5ac09cb2c572 100644 (file)
@@ -634,7 +634,6 @@ static struct platform_driver ahci_highbank_driver = {
        .remove = ata_platform_remove_one,
         .driver = {
                 .name = "highbank-ahci",
-                .owner = THIS_MODULE,
                 .of_match_table = ahci_of_match,
                 .pm = &ahci_highbank_pm_ops,
         },
index 391cfda1e83fc5a9ae86ead1f3dee1d2427570ec..f9a0e34eb111188ad152400a4ec733561ec755e7 100644 (file)
@@ -4280,7 +4280,6 @@ static struct platform_driver mv_platform_driver = {
        .resume         = mv_platform_resume,
        .driver         = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(mv_sata_dt_ids),
        },
 };
index 61eb6d77dac7f507403578a283eade305378f566..ad7725245d397f6992f008e048fb8c2750c046e8 100644 (file)
@@ -989,7 +989,6 @@ static struct platform_driver sata_rcar_driver = {
        .id_table       = sata_rcar_id_table,
        .driver = {
                .name           = DRV_NAME,
-               .owner          = THIS_MODULE,
                .of_match_table = sata_rcar_match,
 #ifdef CONFIG_PM_SLEEP
                .pm             = &sata_rcar_pm_ops,