aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:41 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:41 -0400
commita4652e8e34cd5e07ad34230c17b1b310ec1bcd71 (patch)
treea5dc0064b75575a1a33d9a703889ddc8d594a932
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>
-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 = {
877 .probe = cvm_oct_probe, 877 .probe = cvm_oct_probe,
878 .remove = cvm_oct_remove, 878 .remove = cvm_oct_remove,
879 .driver = { 879 .driver = {
880 .owner = THIS_MODULE,
881 .name = KBUILD_MODNAME, 880 .name = KBUILD_MODNAME,
882 .of_match_table = cvm_oct_match, 881 .of_match_table = cvm_oct_match,
883 }, 882 },