diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:31 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:31 -0400 |
commit | 4a3a950ee9cc76188f5be9088bc765889f7a61c5 (patch) | |
tree | 9b7e09ea510b50c67d659bdf0d9848db25519a2d /drivers/gpio/gpio-xgene.c | |
parent | e94d68450e2f45b8d227cc1987121d1460841a1e (diff) |
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-xgene.c')
-rw-r--r-- | drivers/gpio/gpio-xgene.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 7d489221dc1f..18a8182d4fec 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c | |||
@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); | |||
229 | static struct platform_driver xgene_gpio_driver = { | 229 | static struct platform_driver xgene_gpio_driver = { |
230 | .driver = { | 230 | .driver = { |
231 | .name = "xgene-gpio", | 231 | .name = "xgene-gpio", |
232 | .owner = THIS_MODULE, | ||
233 | .of_match_table = xgene_gpio_of_match, | 232 | .of_match_table = xgene_gpio_of_match, |
234 | .pm = XGENE_GPIO_PM_OPS, | 233 | .pm = XGENE_GPIO_PM_OPS, |
235 | }, | 234 | }, |