diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:21 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:21 +0200 |
commit | 5c759d73b0228901d0e05e5f02402fb35f5d2263 (patch) | |
tree | f29d9a9ab2055fe58423f3d1136be4cba9a11cf8 /drivers/pinctrl/pinctrl-at91.c | |
parent | 735fc3ec3434dd71c3846766a857812571c79925 (diff) | |
download | blackbird-op-linux-5c759d73b0228901d0e05e5f02402fb35f5d2263.tar.gz blackbird-op-linux-5c759d73b0228901d0e05e5f02402fb35f5d2263.zip |
pinctrl: 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/pinctrl/pinctrl-at91.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-at91.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 354a81d40925..654b36517f96 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -1832,7 +1832,6 @@ err: static struct platform_driver at91_gpio_driver = { .driver = { .name = "gpio-at91", - .owner = THIS_MODULE, .of_match_table = at91_gpio_of_match, }, .probe = at91_gpio_probe, @@ -1841,7 +1840,6 @@ static struct platform_driver at91_gpio_driver = { static struct platform_driver at91_pinctrl_driver = { .driver = { .name = "pinctrl-at91", - .owner = THIS_MODULE, .of_match_table = at91_pinctrl_of_match, }, .probe = at91_pinctrl_probe, |