aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport/parport_pc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:20 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:20 +0200
commit2422f7e4d1138a740f228bd4983815bf3b3254e4 (patch)
treec51996769cbc2ed65b49e465e92fec60890f5ca5 /drivers/parport/parport_pc.c
parentnfc: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-2422f7e4d1138a740f228bd4983815bf3b3254e4.tar.xz
linux-dev-2422f7e4d1138a740f228bd4983815bf3b3254e4.zip
parport: 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/parport/parport_pc.c')
-rw-r--r--drivers/parport/parport_pc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
index f721299eb1ba..7ae20b7a56bc 100644
--- a/drivers/parport/parport_pc.c
+++ b/drivers/parport/parport_pc.c
@@ -3011,7 +3011,6 @@ static int parport_pc_platform_probe(struct platform_device *pdev)
static struct platform_driver parport_pc_platform_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "parport_pc",
},
.probe = parport_pc_platform_probe,