summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-gpio
diff options
context:
space:
mode:
authorHariPrasath Elango <hariprasath.elango@gmail.com>2018-03-20 10:45:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-22 20:15:34 +0300
commitf65d6eb430010b123d923ea79eeb11a92118a7ab (patch)
treeb48f4ffe87406969682bebdeede8c02805f5949b /drivers/staging/mt7621-gpio
parent38861e433cf2dfb432723fb263d366534aaf9eb9 (diff)
downloadlinux-f65d6eb430010b123d923ea79eeb11a92118a7ab.tar.xz
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 <hariprasath.elango@gmail.com> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-gpio')
-rw-r--r--drivers/staging/mt7621-gpio/gpio-mt7621.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c
index 5c57abea853f..830d42990244 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,
},
};