diff options
author | Christian Lütke-Stetzkamp <christian@lkamp.de> | 2018-04-18 18:40:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 15:37:12 +0200 |
commit | 70100e25ae98281e430e11e7cb0d82c410c58f36 (patch) | |
tree | 21133e4b4c3e9efdb2cdf2645da55ac1f7ff00ba /drivers | |
parent | f89ce734cbe53f96480eb3110dc676c02de42cb7 (diff) | |
download | linux-70100e25ae98281e430e11e7cb0d82c410c58f36.tar.bz2 |
staging: mt7621-pci: Remove redundant owner assignment
Remove the owner assignment form the platform driver as
platform_driver_register() already initializes the owner.
Found using coccinelle.
Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/mt7621-pci/pci-mt7621.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index 602321522198..c49442c9b187 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -832,7 +832,6 @@ static struct platform_driver mt7621_pci_driver = { .probe = mt7621_pci_probe, .driver = { .name = "mt7621-pci", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(mt7621_pci_ids), }, }; |