summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:00 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:00 +0200
commit8e58ed1ce23ad66dc4f30a7532bce0bcb80e27a2 (patch)
tree97647a777bbbbc15eae3f861d7c91b814a167dad
parent0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (diff)
downloadop-kernel-dev-8e58ed1ce23ad66dc4f30a7532bce0bcb80e27a2.zip
op-kernel-dev-8e58ed1ce23ad66dc4f30a7532bce0bcb80e27a2.tar.gz
net: can: cc770: 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>
-rw-r--r--drivers/net/can/cc770/cc770_isa.c1
-rw-r--r--drivers/net/can/cc770/cc770_platform.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/cc770/cc770_isa.c b/drivers/net/can/cc770/cc770_isa.c
index 87a47c0..e0d1571 100644
--- a/drivers/net/can/cc770/cc770_isa.c
+++ b/drivers/net/can/cc770/cc770_isa.c
@@ -318,7 +318,6 @@ static struct platform_driver cc770_isa_driver = {
.remove = cc770_isa_remove,
.driver = {
.name = KBUILD_MODNAME,
- .owner = THIS_MODULE,
},
};
diff --git a/drivers/net/can/cc770/cc770_platform.c b/drivers/net/can/cc770/cc770_platform.c
index ad76734..b1e8851 100644
--- a/drivers/net/can/cc770/cc770_platform.c
+++ b/drivers/net/can/cc770/cc770_platform.c
@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(of, cc770_platform_table);
static struct platform_driver cc770_platform_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.of_match_table = cc770_platform_table,
},
.probe = cc770_platform_probe,
OpenPOWER on IntegriCloud