staging: mt7621-pinctrl: Remove redundant owner assignment
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Wed, 18 Apr 2018 17:35:29 +0000 (19:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:37:13 +0000 (15:37 +0200)
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>
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c

index 3d2d1c2..2d9ab26 100644 (file)
@@ -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,
        },
 };