staging: mt7621-pinctrl: 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:
Christian Lütke-Stetzkamp 2018-04-18 19:35:29 +02:00 committed by Greg Kroah-Hartman
parent 70100e25ae
commit f9538d44b5
1 changed files with 0 additions and 1 deletions

View File

@ -459,7 +459,6 @@ static struct platform_driver rt2880_pinmux_driver = {
.probe = rt2880_pinmux_probe, .probe = rt2880_pinmux_probe,
.driver = { .driver = {
.name = "rt2880-pinmux", .name = "rt2880-pinmux",
.owner = THIS_MODULE,
.of_match_table = rt2880_pinmux_match, .of_match_table = rt2880_pinmux_match,
}, },
}; };