summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_of_platform.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:17 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:17 +0400
commit65c662ab63d2055d883bc97386aa779cbbb81f93 (patch)
tree60703d5df2dc9713dd1516f092e71004ead47549 /drivers/ata/pata_of_platform.c
parent7ab6c54b5dc15732bf14c29bb21263efa49704bd (diff)
downloadlinux-65c662ab63d2055d883bc97386aa779cbbb81f93.tar.xz
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/pata_of_platform.c')
-rw-r--r--drivers/ata/pata_of_platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_of_platform.c b/drivers/ata/pata_of_platform.c
index 64965398914a..dcc408abe171 100644
--- a/drivers/ata/pata_of_platform.c
+++ b/drivers/ata/pata_of_platform.c
@@ -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,