staging: mt7621-gpio: remove redundant owner assignments of drivers
authorHariPrasath Elango <hariprasath.elango@gmail.com>
Tue, 20 Mar 2018 07:45:54 +0000 (13:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 17:15:34 +0000 (18:15 +0100)
Remove the reduntant owner initialization from this platform driver as
the platform_driver_register() takes care of it.

Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-gpio/gpio-mt7621.c

index 5c57abe..830d429 100644 (file)
@@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
        .probe = mediatek_gpio_probe,
        .driver = {
                .name = "mt7621_gpio",
-               .owner = THIS_MODULE,
                .of_match_table = mediatek_gpio_match,
        },
 };