diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:25 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:25 -0400 |
commit | 5a9a1e8437c865b29f0807ce861a224a95d3121e (patch) | |
tree | 8686351fde7c8e8c99272b218d4d03a6c7c109ad /drivers/pinctrl/spear | |
parent | 66d0f85f1003ae0eafd5e225bc06c71f5366418e (diff) |
pinctrl: spear: 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/spear')
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-plgpio.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear1310.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear1340.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear300.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear310.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear320.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-plgpio.c b/drivers/pinctrl/spear/pinctrl-plgpio.c index bddb79105d67..59a6b6bcfae4 100644 --- a/drivers/pinctrl/spear/pinctrl-plgpio.c +++ b/drivers/pinctrl/spear/pinctrl-plgpio.c | |||
@@ -710,7 +710,6 @@ MODULE_DEVICE_TABLE(of, plgpio_of_match); | |||
710 | static struct platform_driver plgpio_driver = { | 710 | static struct platform_driver plgpio_driver = { |
711 | .probe = plgpio_probe, | 711 | .probe = plgpio_probe, |
712 | .driver = { | 712 | .driver = { |
713 | .owner = THIS_MODULE, | ||
714 | .name = "spear-plgpio", | 713 | .name = "spear-plgpio", |
715 | .pm = &plgpio_dev_pm_ops, | 714 | .pm = &plgpio_dev_pm_ops, |
716 | .of_match_table = plgpio_of_match, | 715 | .of_match_table = plgpio_of_match, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear1310.c b/drivers/pinctrl/spear/pinctrl-spear1310.c index 6d57d43ab640..a7bdc537efa7 100644 --- a/drivers/pinctrl/spear/pinctrl-spear1310.c +++ b/drivers/pinctrl/spear/pinctrl-spear1310.c | |||
@@ -2712,7 +2712,6 @@ static int spear1310_pinctrl_remove(struct platform_device *pdev) | |||
2712 | static struct platform_driver spear1310_pinctrl_driver = { | 2712 | static struct platform_driver spear1310_pinctrl_driver = { |
2713 | .driver = { | 2713 | .driver = { |
2714 | .name = DRIVER_NAME, | 2714 | .name = DRIVER_NAME, |
2715 | .owner = THIS_MODULE, | ||
2716 | .of_match_table = spear1310_pinctrl_of_match, | 2715 | .of_match_table = spear1310_pinctrl_of_match, |
2717 | }, | 2716 | }, |
2718 | .probe = spear1310_pinctrl_probe, | 2717 | .probe = spear1310_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear1340.c b/drivers/pinctrl/spear/pinctrl-spear1340.c index d243e43e7f6d..f43ec85a0328 100644 --- a/drivers/pinctrl/spear/pinctrl-spear1340.c +++ b/drivers/pinctrl/spear/pinctrl-spear1340.c | |||
@@ -2028,7 +2028,6 @@ static int spear1340_pinctrl_remove(struct platform_device *pdev) | |||
2028 | static struct platform_driver spear1340_pinctrl_driver = { | 2028 | static struct platform_driver spear1340_pinctrl_driver = { |
2029 | .driver = { | 2029 | .driver = { |
2030 | .name = DRIVER_NAME, | 2030 | .name = DRIVER_NAME, |
2031 | .owner = THIS_MODULE, | ||
2032 | .of_match_table = spear1340_pinctrl_of_match, | 2031 | .of_match_table = spear1340_pinctrl_of_match, |
2033 | }, | 2032 | }, |
2034 | .probe = spear1340_pinctrl_probe, | 2033 | .probe = spear1340_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear300.c b/drivers/pinctrl/spear/pinctrl-spear300.c index 9db83e9ee18c..da8990a8eeef 100644 --- a/drivers/pinctrl/spear/pinctrl-spear300.c +++ b/drivers/pinctrl/spear/pinctrl-spear300.c | |||
@@ -685,7 +685,6 @@ static int spear300_pinctrl_remove(struct platform_device *pdev) | |||
685 | static struct platform_driver spear300_pinctrl_driver = { | 685 | static struct platform_driver spear300_pinctrl_driver = { |
686 | .driver = { | 686 | .driver = { |
687 | .name = DRIVER_NAME, | 687 | .name = DRIVER_NAME, |
688 | .owner = THIS_MODULE, | ||
689 | .of_match_table = spear300_pinctrl_of_match, | 688 | .of_match_table = spear300_pinctrl_of_match, |
690 | }, | 689 | }, |
691 | .probe = spear300_pinctrl_probe, | 690 | .probe = spear300_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear310.c b/drivers/pinctrl/spear/pinctrl-spear310.c index db775a414b7a..31ede51e819b 100644 --- a/drivers/pinctrl/spear/pinctrl-spear310.c +++ b/drivers/pinctrl/spear/pinctrl-spear310.c | |||
@@ -408,7 +408,6 @@ static int spear310_pinctrl_remove(struct platform_device *pdev) | |||
408 | static struct platform_driver spear310_pinctrl_driver = { | 408 | static struct platform_driver spear310_pinctrl_driver = { |
409 | .driver = { | 409 | .driver = { |
410 | .name = DRIVER_NAME, | 410 | .name = DRIVER_NAME, |
411 | .owner = THIS_MODULE, | ||
412 | .of_match_table = spear310_pinctrl_of_match, | 411 | .of_match_table = spear310_pinctrl_of_match, |
413 | }, | 412 | }, |
414 | .probe = spear310_pinctrl_probe, | 413 | .probe = spear310_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear320.c b/drivers/pinctrl/spear/pinctrl-spear320.c index 80fbd68e17bc..506e40b641e0 100644 --- a/drivers/pinctrl/spear/pinctrl-spear320.c +++ b/drivers/pinctrl/spear/pinctrl-spear320.c | |||
@@ -3449,7 +3449,6 @@ static int spear320_pinctrl_remove(struct platform_device *pdev) | |||
3449 | static struct platform_driver spear320_pinctrl_driver = { | 3449 | static struct platform_driver spear320_pinctrl_driver = { |
3450 | .driver = { | 3450 | .driver = { |
3451 | .name = DRIVER_NAME, | 3451 | .name = DRIVER_NAME, |
3452 | .owner = THIS_MODULE, | ||
3453 | .of_match_table = spear320_pinctrl_of_match, | 3452 | .of_match_table = spear320_pinctrl_of_match, |
3454 | }, | 3453 | }, |
3455 | .probe = spear320_pinctrl_probe, | 3454 | .probe = spear320_pinctrl_probe, |