aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:00 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:00 -0400
commit8e58ed1ce23ad66dc4f30a7532bce0bcb80e27a2 (patch)
tree97647a777bbbbc15eae3f861d7c91b814a167dad
parent0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (diff)
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 87a47c0cfd49..e0d15711e9ac 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 = {
318 .remove = cc770_isa_remove, 318 .remove = cc770_isa_remove,
319 .driver = { 319 .driver = {
320 .name = KBUILD_MODNAME, 320 .name = KBUILD_MODNAME,
321 .owner = THIS_MODULE,
322 }, 321 },
323}; 322};
324 323
diff --git a/drivers/net/can/cc770/cc770_platform.c b/drivers/net/can/cc770/cc770_platform.c
index ad76734b3ecc..b1e8851d3cc4 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);
264static struct platform_driver cc770_platform_driver = { 264static struct platform_driver cc770_platform_driver = {
265 .driver = { 265 .driver = {
266 .name = DRV_NAME, 266 .name = DRV_NAME,
267 .owner = THIS_MODULE,
268 .of_match_table = cc770_platform_table, 267 .of_match_table = cc770_platform_table,
269 }, 268 },
270 .probe = cc770_platform_probe, 269 .probe = cc770_platform_probe,