aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide_platform.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:38 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:38 -0400
commit35316c9ffd6abf7a217f56fb269e71e87c96b599 (patch)
treee2c6c786ce40ed0e1f316fa43fdcc69322a93505 /drivers/ide/ide_platform.c
parent37e5dc1c277c4efa8d1093171ab77fd3585fca3d (diff)
ide: 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/ide/ide_platform.c')
-rw-r--r--drivers/ide/ide_platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c
index d48de6de503e..2b43be3bca0a 100644
--- a/drivers/ide/ide_platform.c
+++ b/drivers/ide/ide_platform.c
@@ -125,7 +125,6 @@ static int plat_ide_remove(struct platform_device *pdev)
125static struct platform_driver platform_ide_driver = { 125static struct platform_driver platform_ide_driver = {
126 .driver = { 126 .driver = {
127 .name = "pata_platform", 127 .name = "pata_platform",
128 .owner = THIS_MODULE,
129 }, 128 },
130 .probe = plat_ide_probe, 129 .probe = plat_ide_probe,
131 .remove = plat_ide_remove, 130 .remove = plat_ide_remove,