Commit f9538d44 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

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: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 70100e25
...@@ -459,7 +459,6 @@ static struct platform_driver rt2880_pinmux_driver = { ...@@ -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,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment