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 670e5b01c6781b3b97245f8b83f72576eeb020af..c4f51d0cd2ccec322e0ede56e1b58f5386964c20 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 db078fe7ace6cd1d81ec1d9198d5776b8d320f11..cd7c8f51f7d900c9a6e5f6c0c8b940c2cde3c2f4 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 1049f82fb62fe99da4e0d26e78a2ca2247d81ee3..224c6cff6aa28ccf69ea44564c33a1329cddabfe 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 de311129f7a020473acc3b46ee9ede902df86c9d..fc3376147c189962d30e4cd7aaf6a6246161f10e 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 3b022178a566eee5d5568f9b68f3135f405cfdde..89a52e15f0ae59f44eb5e5ce929d6f7830bcecbc 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 0d0211a1a0b005659a4ddbe557c46fd8dbe1d521..dbc673cf713135196d7514804e2c99bc5b2b4f09 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 dda1e7254e15f116c75b190a0585be5a24f090af..3a632efb56bb7a559f97079a0878dbd652f593b7 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,