summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-pinctrl
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <christian@lkamp.de>2018-04-18 19:35:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 15:37:13 +0200
commitf9538d44b5b4e15d44533df5030d019b7779ce63 (patch)
tree130aa2764c71203da779072512b42ab530cb6b53 /drivers/staging/mt7621-pinctrl
parent70100e25ae98281e430e11e7cb0d82c410c58f36 (diff)
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>
Diffstat (limited to 'drivers/staging/mt7621-pinctrl')
-rw-r--r--drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
index 3d2d1c2a006f..2d9ab2620b82 100644
--- a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
+++ b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
@@ -459,7 +459,6 @@ static struct platform_driver rt2880_pinmux_driver = {
.probe = rt2880_pinmux_probe,
.driver = {
.name = "rt2880-pinmux",
- .owner = THIS_MODULE,
.of_match_table = rt2880_pinmux_match,
},
};