aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_sunxi.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:17 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:17 -0400
commit65c662ab63d2055d883bc97386aa779cbbb81f93 (patch)
tree60703d5df2dc9713dd1516f092e71004ead47549 /drivers/ata/ahci_sunxi.c
parent7ab6c54b5dc15732bf14c29bb21263efa49704bd (diff)
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>
Diffstat (limited to 'drivers/ata/ahci_sunxi.c')
-rw-r--r--drivers/ata/ahci_sunxi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/ahci_sunxi.c b/drivers/ata/ahci_sunxi.c
index e44d675a30ec..afe5581e9b1f 100644
--- a/drivers/ata/ahci_sunxi.c
+++ b/drivers/ata/ahci_sunxi.c
@@ -238,7 +238,6 @@ static struct platform_driver ahci_sunxi_driver = {
238 .remove = ata_platform_remove_one, 238 .remove = ata_platform_remove_one,
239 .driver = { 239 .driver = {
240 .name = "ahci-sunxi", 240 .name = "ahci-sunxi",
241 .owner = THIS_MODULE,
242 .of_match_table = ahci_sunxi_of_match, 241 .of_match_table = ahci_sunxi_of_match,
243 .pm = &ahci_sunxi_pm_ops, 242 .pm = &ahci_sunxi_pm_ops,
244 }, 243 },