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

ata: drop owner assignment from platform_drivers

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
-1
drivers/ata/ahci_da850.c
··· 103 103 .remove = ata_platform_remove_one, 104 104 .driver = { 105 105 .name = "ahci_da850", 106 - .owner = THIS_MODULE, 107 106 .pm = &ahci_da850_pm_ops, 108 107 }, 109 108 };
-1
drivers/ata/ahci_imx.c
··· 679 679 .remove = ata_platform_remove_one, 680 680 .driver = { 681 681 .name = "ahci-imx", 682 - .owner = THIS_MODULE, 683 682 .of_match_table = imx_ahci_of_match, 684 683 .pm = &ahci_imx_pm_ops, 685 684 },
-1
drivers/ata/ahci_mvebu.c
··· 115 115 .remove = ata_platform_remove_one, 116 116 .driver = { 117 117 .name = "ahci-mvebu", 118 - .owner = THIS_MODULE, 119 118 .of_match_table = ahci_mvebu_of_match, 120 119 }, 121 120 };
-1
drivers/ata/ahci_platform.c
··· 76 76 .remove = ata_platform_remove_one, 77 77 .driver = { 78 78 .name = "ahci", 79 - .owner = THIS_MODULE, 80 79 .of_match_table = ahci_of_match, 81 80 .pm = &ahci_pm_ops, 82 81 },
-1
drivers/ata/ahci_st.c
··· 230 230 static struct platform_driver st_ahci_driver = { 231 231 .driver = { 232 232 .name = "st_ahci", 233 - .owner = THIS_MODULE, 234 233 .pm = &st_ahci_pm_ops, 235 234 .of_match_table = of_match_ptr(st_ahci_match), 236 235 },
-1
drivers/ata/ahci_sunxi.c
··· 238 238 .remove = ata_platform_remove_one, 239 239 .driver = { 240 240 .name = "ahci-sunxi", 241 - .owner = THIS_MODULE, 242 241 .of_match_table = ahci_sunxi_of_match, 243 242 .pm = &ahci_sunxi_pm_ops, 244 243 },
-1
drivers/ata/ahci_xgene.c
··· 544 544 .remove = ata_platform_remove_one, 545 545 .driver = { 546 546 .name = "xgene-ahci", 547 - .owner = THIS_MODULE, 548 547 .of_match_table = xgene_ahci_of_match, 549 548 }, 550 549 };
-1
drivers/ata/pata_arasan_cf.c
··· 961 961 .remove = arasan_cf_remove, 962 962 .driver = { 963 963 .name = DRIVER_NAME, 964 - .owner = THIS_MODULE, 965 964 .pm = &arasan_cf_pm_ops, 966 965 .of_match_table = of_match_ptr(arasan_cf_id_table), 967 966 },
-1
drivers/ata/pata_at32.c
··· 389 389 .remove = __exit_p(pata_at32_remove), 390 390 .driver = { 391 391 .name = "at32_ide", 392 - .owner = THIS_MODULE, 393 392 }, 394 393 }; 395 394
-1
drivers/ata/pata_at91.c
··· 444 444 .remove = pata_at91_remove, 445 445 .driver = { 446 446 .name = DRV_NAME, 447 - .owner = THIS_MODULE, 448 447 }, 449 448 }; 450 449
-1
drivers/ata/pata_bf54x.c
··· 1657 1657 .resume = bfin_atapi_resume, 1658 1658 .driver = { 1659 1659 .name = DRV_NAME, 1660 - .owner = THIS_MODULE, 1661 1660 }, 1662 1661 }; 1663 1662
-1
drivers/ata/pata_ep93xx.c
··· 1021 1021 static struct platform_driver ep93xx_pata_platform_driver = { 1022 1022 .driver = { 1023 1023 .name = DRV_NAME, 1024 - .owner = THIS_MODULE, 1025 1024 }, 1026 1025 .probe = ep93xx_pata_probe, 1027 1026 .remove = ep93xx_pata_remove,
-1
drivers/ata/pata_imx.c
··· 240 240 .driver = { 241 241 .name = DRV_NAME, 242 242 .of_match_table = imx_pata_dt_ids, 243 - .owner = THIS_MODULE, 244 243 .pm = &pata_imx_pm_ops, 245 244 }, 246 245 };
-1
drivers/ata/pata_ixp4xx_cf.c
··· 193 193 static struct platform_driver ixp4xx_pata_platform_driver = { 194 194 .driver = { 195 195 .name = DRV_NAME, 196 - .owner = THIS_MODULE, 197 196 }, 198 197 .probe = ixp4xx_pata_probe, 199 198 .remove = ata_platform_remove_one,
-1
drivers/ata/pata_mpc52xx.c
··· 863 863 #endif 864 864 .driver = { 865 865 .name = DRV_NAME, 866 - .owner = THIS_MODULE, 867 866 .of_match_table = mpc52xx_ata_of_match, 868 867 }, 869 868 };
-1
drivers/ata/pata_octeon_cf.c
··· 1059 1059 .probe = octeon_cf_probe, 1060 1060 .driver = { 1061 1061 .name = DRV_NAME, 1062 - .owner = THIS_MODULE, 1063 1062 .of_match_table = octeon_cf_match, 1064 1063 .shutdown = octeon_cf_shutdown 1065 1064 },
-1
drivers/ata/pata_of_platform.c
··· 75 75 static struct platform_driver pata_of_platform_driver = { 76 76 .driver = { 77 77 .name = "pata_of_platform", 78 - .owner = THIS_MODULE, 79 78 .of_match_table = pata_of_platform_match, 80 79 }, 81 80 .probe = pata_of_platform_probe,
-1
drivers/ata/pata_palmld.c
··· 124 124 static struct platform_driver palmld_pata_platform_driver = { 125 125 .driver = { 126 126 .name = DRV_NAME, 127 - .owner = THIS_MODULE, 128 127 }, 129 128 .probe = palmld_pata_probe, 130 129 .remove = palmld_pata_remove,
-1
drivers/ata/pata_platform.c
··· 224 224 .remove = ata_platform_remove_one, 225 225 .driver = { 226 226 .name = DRV_NAME, 227 - .owner = THIS_MODULE, 228 227 }, 229 228 }; 230 229
-1
drivers/ata/pata_pxa.c
··· 385 385 .remove = pxa_ata_remove, 386 386 .driver = { 387 387 .name = DRV_NAME, 388 - .owner = THIS_MODULE, 389 388 }, 390 389 }; 391 390
-1
drivers/ata/pata_rb532_cf.c
··· 193 193 .remove = rb532_pata_driver_remove, 194 194 .driver = { 195 195 .name = DRV_NAME, 196 - .owner = THIS_MODULE, 197 196 }, 198 197 }; 199 198
-1
drivers/ata/pata_samsung_cf.c
··· 656 656 .id_table = pata_s3c_driver_ids, 657 657 .driver = { 658 658 .name = DRV_NAME, 659 - .owner = THIS_MODULE, 660 659 #ifdef CONFIG_PM_SLEEP 661 660 .pm = &pata_s3c_pm_ops, 662 661 #endif
-1
drivers/ata/sata_dwc_460ex.c
··· 1807 1807 static struct platform_driver sata_dwc_driver = { 1808 1808 .driver = { 1809 1809 .name = DRV_NAME, 1810 - .owner = THIS_MODULE, 1811 1810 .of_match_table = sata_dwc_match, 1812 1811 }, 1813 1812 .probe = sata_dwc_probe,
-1
drivers/ata/sata_fsl.c
··· 1624 1624 static struct platform_driver fsl_sata_driver = { 1625 1625 .driver = { 1626 1626 .name = "fsl-sata", 1627 - .owner = THIS_MODULE, 1628 1627 .of_match_table = fsl_sata_match, 1629 1628 }, 1630 1629 .probe = sata_fsl_probe,
-1
drivers/ata/sata_highbank.c
··· 634 634 .remove = ata_platform_remove_one, 635 635 .driver = { 636 636 .name = "highbank-ahci", 637 - .owner = THIS_MODULE, 638 637 .of_match_table = ahci_of_match, 639 638 .pm = &ahci_highbank_pm_ops, 640 639 },
-1
drivers/ata/sata_mv.c
··· 4280 4280 .resume = mv_platform_resume, 4281 4281 .driver = { 4282 4282 .name = DRV_NAME, 4283 - .owner = THIS_MODULE, 4284 4283 .of_match_table = of_match_ptr(mv_sata_dt_ids), 4285 4284 }, 4286 4285 };
-1
drivers/ata/sata_rcar.c
··· 989 989 .id_table = sata_rcar_id_table, 990 990 .driver = { 991 991 .name = DRV_NAME, 992 - .owner = THIS_MODULE, 993 992 .of_match_table = sata_rcar_match, 994 993 #ifdef CONFIG_PM_SLEEP 995 994 .pm = &sata_rcar_pm_ops,