diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:06 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:06 +0200 |
commit | fe6a12d1b2bc6aec1ae2d624a517cd7295733fba (patch) | |
tree | a32dc20e90f84ef5198ab34bbdb253cb7f1de483 /drivers/net/ethernet/cadence/macb.c | |
parent | net: ethernet: broadcom: genet: drop owner assignment from platform_drivers (diff) | |
download | linux-fe6a12d1b2bc6aec1ae2d624a517cd7295733fba.tar.xz linux-fe6a12d1b2bc6aec1ae2d624a517cd7295733fba.zip |
net: ethernet: cadence: 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/cadence/macb.c')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 4d9fc0509af6..41113e51c704 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c @@ -2321,7 +2321,6 @@ static struct platform_driver macb_driver = { .remove = __exit_p(macb_remove), .driver = { .name = "macb", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(macb_dt_ids), .pm = &macb_pm_ops, }, |