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-tegra.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-tegra.c')
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 4e8fb8261a87..a223ac51749c 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -528,7 +528,6 @@ static int tegra_gpio_probe(struct platform_device *pdev) | |||
528 | static struct platform_driver tegra_gpio_driver = { | 528 | static struct platform_driver tegra_gpio_driver = { |
529 | .driver = { | 529 | .driver = { |
530 | .name = "tegra-gpio", | 530 | .name = "tegra-gpio", |
531 | .owner = THIS_MODULE, | ||
532 | .pm = &tegra_gpio_pm_ops, | 531 | .pm = &tegra_gpio_pm_ops, |
533 | .of_match_table = tegra_gpio_of_match, | 532 | .of_match_table = tegra_gpio_of_match, |
534 | }, | 533 | }, |