pinctrl: mvebu: 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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:21:22 +02:00
parent c61b301d3b
commit 1d57fb12e6
7 changed files with 0 additions and 7 deletions

View File

@ -425,7 +425,6 @@ static int armada_370_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver armada_370_pinctrl_driver = { static struct platform_driver armada_370_pinctrl_driver = {
.driver = { .driver = {
.name = "armada-370-pinctrl", .name = "armada-370-pinctrl",
.owner = THIS_MODULE,
.of_match_table = armada_370_pinctrl_of_match, .of_match_table = armada_370_pinctrl_of_match,
}, },
.probe = armada_370_pinctrl_probe, .probe = armada_370_pinctrl_probe,

View File

@ -445,7 +445,6 @@ static int armada_375_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver armada_375_pinctrl_driver = { static struct platform_driver armada_375_pinctrl_driver = {
.driver = { .driver = {
.name = "armada-375-pinctrl", .name = "armada-375-pinctrl",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(armada_375_pinctrl_of_match), .of_match_table = of_match_ptr(armada_375_pinctrl_of_match),
}, },
.probe = armada_375_pinctrl_probe, .probe = armada_375_pinctrl_probe,

View File

@ -448,7 +448,6 @@ static int armada_38x_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver armada_38x_pinctrl_driver = { static struct platform_driver armada_38x_pinctrl_driver = {
.driver = { .driver = {
.name = "armada-38x-pinctrl", .name = "armada-38x-pinctrl",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(armada_38x_pinctrl_of_match), .of_match_table = of_match_ptr(armada_38x_pinctrl_of_match),
}, },
.probe = armada_38x_pinctrl_probe, .probe = armada_38x_pinctrl_probe,

View File

@ -472,7 +472,6 @@ static int armada_xp_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver armada_xp_pinctrl_driver = { static struct platform_driver armada_xp_pinctrl_driver = {
.driver = { .driver = {
.name = "armada-xp-pinctrl", .name = "armada-xp-pinctrl",
.owner = THIS_MODULE,
.of_match_table = armada_xp_pinctrl_of_match, .of_match_table = armada_xp_pinctrl_of_match,
}, },
.probe = armada_xp_pinctrl_probe, .probe = armada_xp_pinctrl_probe,

View File

@ -851,7 +851,6 @@ static int dove_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver dove_pinctrl_driver = { static struct platform_driver dove_pinctrl_driver = {
.driver = { .driver = {
.name = "dove-pinctrl", .name = "dove-pinctrl",
.owner = THIS_MODULE,
.of_match_table = dove_pinctrl_of_match, .of_match_table = dove_pinctrl_of_match,
}, },
.probe = dove_pinctrl_probe, .probe = dove_pinctrl_probe,

View File

@ -489,7 +489,6 @@ static int kirkwood_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver kirkwood_pinctrl_driver = { static struct platform_driver kirkwood_pinctrl_driver = {
.driver = { .driver = {
.name = "kirkwood-pinctrl", .name = "kirkwood-pinctrl",
.owner = THIS_MODULE,
.of_match_table = kirkwood_pinctrl_of_match, .of_match_table = kirkwood_pinctrl_of_match,
}, },
.probe = kirkwood_pinctrl_probe, .probe = kirkwood_pinctrl_probe,

View File

@ -247,7 +247,6 @@ static int orion_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver orion_pinctrl_driver = { static struct platform_driver orion_pinctrl_driver = {
.driver = { .driver = {
.name = "orion-pinctrl", .name = "orion-pinctrl",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(orion_pinctrl_of_match), .of_match_table = of_match_ptr(orion_pinctrl_of_match),
}, },
.probe = orion_pinctrl_probe, .probe = orion_pinctrl_probe,