summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide_platform.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:38 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:38 +0200
commit35316c9ffd6abf7a217f56fb269e71e87c96b599 (patch)
treee2c6c786ce40ed0e1f316fa43fdcc69322a93505 /drivers/ide/ide_platform.c
parent37e5dc1c277c4efa8d1093171ab77fd3585fca3d (diff)
downloadlinux-35316c9ffd6abf7a217f56fb269e71e87c96b599.tar.gz
linux-35316c9ffd6abf7a217f56fb269e71e87c96b599.tar.bz2
linux-35316c9ffd6abf7a217f56fb269e71e87c96b599.zip
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)
static struct platform_driver platform_ide_driver = {
.driver = {
.name = "pata_platform",
- .owner = THIS_MODULE,
},
.probe = plat_ide_probe,
.remove = plat_ide_remove,