summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-sta2x11.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:31 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:31 +0400
commit4a3a950ee9cc76188f5be9088bc765889f7a61c5 (patch)
tree9b7e09ea510b50c67d659bdf0d9848db25519a2d /drivers/gpio/gpio-sta2x11.c
parente94d68450e2f45b8d227cc1987121d1460841a1e (diff)
downloadlinux-4a3a950ee9cc76188f5be9088bc765889f7a61c5.tar.xz
gpio: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/gpio/gpio-sta2x11.c')
-rw-r--r--drivers/gpio/gpio-sta2x11.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c
index 68e3fcb1acea..18579ac65b2b 100644
--- a/drivers/gpio/gpio-sta2x11.c
+++ b/drivers/gpio/gpio-sta2x11.c
@@ -429,7 +429,6 @@ err_free_descs:
static struct platform_driver sta2x11_gpio_platform_driver = {
.driver = {
.name = "sta2x11-gpio",
- .owner = THIS_MODULE,
},
.probe = gsta_probe,
};