summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-dwapb.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:31 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:31 +0200
commit4a3a950ee9cc76188f5be9088bc765889f7a61c5 (patch)
tree9b7e09ea510b50c67d659bdf0d9848db25519a2d /drivers/gpio/gpio-dwapb.c
parente94d68450e2f45b8d227cc1987121d1460841a1e (diff)
downloadlinux-4a3a950ee9cc76188f5be9088bc765889f7a61c5.tar.gz
linux-4a3a950ee9cc76188f5be9088bc765889f7a61c5.tar.bz2
linux-4a3a950ee9cc76188f5be9088bc765889f7a61c5.zip
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-dwapb.c')
-rw-r--r--drivers/gpio/gpio-dwapb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c
index b43cd84b61f1..165cce593e64 100644
--- a/drivers/gpio/gpio-dwapb.c
+++ b/drivers/gpio/gpio-dwapb.c
@@ -703,7 +703,6 @@ static SIMPLE_DEV_PM_OPS(dwapb_gpio_pm_ops, dwapb_gpio_suspend,
static struct platform_driver dwapb_gpio_driver = {
.driver = {
.name = "gpio-dwapb",
- .owner = THIS_MODULE,
.pm = &dwapb_gpio_pm_ops,
.of_match_table = of_match_ptr(dwapb_of_match),
},