aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:41 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:41 +0200
commita4652e8e34cd5e07ad34230c17b1b310ec1bcd71 (patch)
treea5dc0064b75575a1a33d9a703889ddc8d594a932 /drivers/staging/octeon/ethernet.c
parentd5dbc0245a7da65b95fc14f99ccfc5f1fad078f0 (diff)
staging: octeon: 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/staging/octeon/ethernet.c')
-rw-r--r--drivers/staging/octeon/ethernet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c
index 8f9e3fb4871d..af24294d9466 100644
--- a/drivers/staging/octeon/ethernet.c
+++ b/drivers/staging/octeon/ethernet.c
@@ -877,7 +877,6 @@ static struct platform_driver cvm_oct_driver = {
.probe = cvm_oct_probe,
.remove = cvm_oct_remove,
.driver = {
- .owner = THIS_MODULE,
.name = KBUILD_MODNAME,
.of_match_table = cvm_oct_match,
},

Privacy Policy