ramips: 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>
This commit is contained in:
parent
a098a78a33
commit
2ad4daf579
1 changed files with 0 additions and 1 deletions
|
@ -823,7 +823,6 @@ static struct platform_driver mt7621_pci_driver = {
|
||||||
.probe = mt7621_pci_probe,
|
.probe = mt7621_pci_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mt7621-pci",
|
.name = "mt7621-pci",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(mt7621_pci_ids),
|
.of_match_table = of_match_ptr(mt7621_pci_ids),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue