From: HariPrasath Elango Date: Tue, 20 Mar 2018 07:45:54 +0000 (+0530) Subject: staging: mt7621-gpio: remove redundant owner assignments of drivers X-Git-Tag: v4.17-rc1~124^2~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f65d6eb430010b123d923ea79eeb11a92118a7ab;p=thirdparty%2Fkernel%2Flinux.git staging: mt7621-gpio: remove redundant owner assignments of drivers Remove the reduntant owner initialization from this platform driver as the platform_driver_register() takes care of it. Signed-off-by: HariPrasath Elango Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c index 5c57abea853f8..830d429902444 100644 --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c @@ -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, }, };