]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pinctrl: spear: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:25 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:25 +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/spear/pinctrl-plgpio.c
drivers/pinctrl/spear/pinctrl-spear1310.c
drivers/pinctrl/spear/pinctrl-spear1340.c
drivers/pinctrl/spear/pinctrl-spear300.c
drivers/pinctrl/spear/pinctrl-spear310.c
drivers/pinctrl/spear/pinctrl-spear320.c

index bddb79105d67fa31118033f985412c70fca15cea..59a6b6bcfae46f18255e32965de758633fa69af5 100644 (file)
@@ -710,7 +710,6 @@ MODULE_DEVICE_TABLE(of, plgpio_of_match);
 static struct platform_driver plgpio_driver = {
        .probe = plgpio_probe,
        .driver = {
-               .owner = THIS_MODULE,
                .name = "spear-plgpio",
                .pm = &plgpio_dev_pm_ops,
                .of_match_table = plgpio_of_match,
index 6d57d43ab640c3a91980f0a68523af010f40d4c6..a7bdc537efa79d1c744e88f6e44353a0b2f92c43 100644 (file)
@@ -2712,7 +2712,6 @@ static int spear1310_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver spear1310_pinctrl_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = spear1310_pinctrl_of_match,
        },
        .probe = spear1310_pinctrl_probe,
index d243e43e7f6dac77962ba6ed51945b56b3cdf6a8..f43ec85a03285db1ee473ae7d5140e0d87811642 100644 (file)
@@ -2028,7 +2028,6 @@ static int spear1340_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver spear1340_pinctrl_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = spear1340_pinctrl_of_match,
        },
        .probe = spear1340_pinctrl_probe,
index 9db83e9ee18c7963131577c977984e41ae44cd98..da8990a8eeefcb6b0f4666bd60efdb7de3e9f384 100644 (file)
@@ -685,7 +685,6 @@ static int spear300_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver spear300_pinctrl_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = spear300_pinctrl_of_match,
        },
        .probe = spear300_pinctrl_probe,
index db775a414b7a373a22066a56f379b944aa759f8a..31ede51e819bf0e41d1c4a8ba9946b6f395c7421 100644 (file)
@@ -408,7 +408,6 @@ static int spear310_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver spear310_pinctrl_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = spear310_pinctrl_of_match,
        },
        .probe = spear310_pinctrl_probe,
index 80fbd68e17bc56deb68f2c0303630d3f005321b5..506e40b641e048950d0f133dcdc5639112f7b4f2 100644 (file)
@@ -3449,7 +3449,6 @@ static int spear320_pinctrl_remove(struct platform_device *pdev)
 static struct platform_driver spear320_pinctrl_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = spear320_pinctrl_of_match,
        },
        .probe = spear320_pinctrl_probe,