aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:01 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:01 -0400
commitac52841ce7af1c09957922254da035d5607a9b93 (patch)
tree77bda3d8822f8a5d3c8e8a5c54a5c49513a8add0
parent0a6e54be42d2e61425188b84068aa74234ba1bbc (diff)
net: can: sja1000: 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/sja1000/sja1000_isa.c1
-rw-r--r--drivers/net/can/sja1000/sja1000_platform.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/sja1000/sja1000_isa.c b/drivers/net/can/sja1000/sja1000_isa.c
index 014695d7e6a3..e97e6d35b300 100644
--- a/drivers/net/can/sja1000/sja1000_isa.c
+++ b/drivers/net/can/sja1000/sja1000_isa.c
@@ -259,7 +259,6 @@ static struct platform_driver sja1000_isa_driver = {
259 .remove = sja1000_isa_remove, 259 .remove = sja1000_isa_remove,
260 .driver = { 260 .driver = {
261 .name = DRV_NAME, 261 .name = DRV_NAME,
262 .owner = THIS_MODULE,
263 }, 262 },
264}; 263};
265 264
diff --git a/drivers/net/can/sja1000/sja1000_platform.c b/drivers/net/can/sja1000/sja1000_platform.c
index 95a844a7ee7b..93115250eaf5 100644
--- a/drivers/net/can/sja1000/sja1000_platform.c
+++ b/drivers/net/can/sja1000/sja1000_platform.c
@@ -253,7 +253,6 @@ static struct platform_driver sp_driver = {
253 .remove = sp_remove, 253 .remove = sp_remove,
254 .driver = { 254 .driver = {
255 .name = DRV_NAME, 255 .name = DRV_NAME,
256 .owner = THIS_MODULE,
257 .of_match_table = sp_of_table, 256 .of_match_table = sp_of_table,
258 }, 257 },
259}; 258};