diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:13 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:13 +0200 |
commit | 3a6e44c57a75f6a73614b1be9c953654864adaaa (patch) | |
tree | 84c301dcf0244b3a8b209e61a5a5efc25eef3e71 /drivers/net/ethernet/sun/niu.c | |
parent | net: ethernet: smsc: drop owner assignment from platform_drivers (diff) | |
download | linux-3a6e44c57a75f6a73614b1be9c953654864adaaa.tar.xz linux-3a6e44c57a75f6a73614b1be9c953654864adaaa.zip |
net: ethernet: sun: 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/ethernet/sun/niu.c')
-rw-r--r-- | drivers/net/ethernet/sun/niu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/niu.c b/drivers/net/ethernet/sun/niu.c index 904fd1ab5f6e..a2a1d32742a6 100644 --- a/drivers/net/ethernet/sun/niu.c +++ b/drivers/net/ethernet/sun/niu.c @@ -10185,7 +10185,6 @@ MODULE_DEVICE_TABLE(of, niu_match); static struct platform_driver niu_of_driver = { .driver = { .name = "niu", - .owner = THIS_MODULE, .of_match_table = niu_match, }, .probe = niu_of_probe, |