diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:00 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:00 +0200 |
commit | 8e58ed1ce23ad66dc4f30a7532bce0bcb80e27a2 (patch) | |
tree | 97647a777bbbbc15eae3f861d7c91b814a167dad /drivers/net/can/cc770/cc770_platform.c | |
parent | 0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (diff) | |
download | op-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>
Diffstat (limited to 'drivers/net/can/cc770/cc770_platform.c')
-rw-r--r-- | drivers/net/can/cc770/cc770_platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, |