pinctrl: mvebu: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:22 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:22 +0000 (16:21 +0200)
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>
drivers/pinctrl/mvebu/pinctrl-armada-370.c
drivers/pinctrl/mvebu/pinctrl-armada-375.c
drivers/pinctrl/mvebu/pinctrl-armada-38x.c
drivers/pinctrl/mvebu/pinctrl-armada-xp.c
drivers/pinctrl/mvebu/pinctrl-dove.c
drivers/pinctrl/mvebu/pinctrl-kirkwood.c
drivers/pinctrl/mvebu/pinctrl-orion.c

index 670e5b0..c4f51d0 100644 (file)
@@ -425,7 +425,6 @@ static int armada_370_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver armada_370_pinctrl_driver = {
        .driver = {
                .name = "armada-370-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = armada_370_pinctrl_of_match,
        },
        .probe = armada_370_pinctrl_probe,
index db078fe..cd7c8f5 100644 (file)
@@ -445,7 +445,6 @@ static int armada_375_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver armada_375_pinctrl_driver = {
        .driver = {
                .name = "armada-375-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(armada_375_pinctrl_of_match),
        },
        .probe = armada_375_pinctrl_probe,
index 1049f82..224c6cf 100644 (file)
@@ -448,7 +448,6 @@ static int armada_38x_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver armada_38x_pinctrl_driver = {
        .driver = {
                .name = "armada-38x-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(armada_38x_pinctrl_of_match),
        },
        .probe = armada_38x_pinctrl_probe,
index de31112..fc33761 100644 (file)
@@ -472,7 +472,6 @@ static int armada_xp_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver armada_xp_pinctrl_driver = {
        .driver = {
                .name = "armada-xp-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = armada_xp_pinctrl_of_match,
        },
        .probe = armada_xp_pinctrl_probe,
index 3b02217..89a52e1 100644 (file)
@@ -851,7 +851,6 @@ static int dove_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver dove_pinctrl_driver = {
        .driver = {
                .name = "dove-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = dove_pinctrl_of_match,
        },
        .probe = dove_pinctrl_probe,
index 0d0211a..dbc673c 100644 (file)
@@ -489,7 +489,6 @@ static int kirkwood_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver kirkwood_pinctrl_driver = {
        .driver = {
                .name = "kirkwood-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = kirkwood_pinctrl_of_match,
        },
        .probe = kirkwood_pinctrl_probe,
index dda1e72..3a632ef 100644 (file)
@@ -247,7 +247,6 @@ static int orion_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver orion_pinctrl_driver = {
        .driver = {
                .name = "orion-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(orion_pinctrl_of_match),
        },
        .probe = orion_pinctrl_probe,