]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
pinctrl: qcom: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:23 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:23 +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/qcom/pinctrl-apq8064.c
drivers/pinctrl/qcom/pinctrl-apq8084.c
drivers/pinctrl/qcom/pinctrl-ipq8064.c
drivers/pinctrl/qcom/pinctrl-msm8960.c
drivers/pinctrl/qcom/pinctrl-msm8x74.c

index c832d7d6b912989ff34dc56feb9fa132d5e88625..cd96699b19297b2e7120a02c483e94ad758c1811 100644 (file)
@@ -612,7 +612,6 @@ static const struct of_device_id apq8064_pinctrl_of_match[] = {
 static struct platform_driver apq8064_pinctrl_driver = {
        .driver = {
                .name = "apq8064-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = apq8064_pinctrl_of_match,
        },
        .probe = apq8064_pinctrl_probe,
index 138cbf6134a5816f98d46321bb31fd83225a5999..d07e8df43b90696cad0e28ccff2131174b584104 100644 (file)
@@ -1221,7 +1221,6 @@ static const struct of_device_id apq8084_pinctrl_of_match[] = {
 static struct platform_driver apq8084_pinctrl_driver = {
        .driver = {
                .name = "apq8084-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = apq8084_pinctrl_of_match,
        },
        .probe = apq8084_pinctrl_probe,
index 81f49a9b4dbe794e21d2c5641e6ecf8a0d17de34..bcb29c02f4b019288f7bc94b15775467941d9fb4 100644 (file)
@@ -645,7 +645,6 @@ static const struct of_device_id ipq8064_pinctrl_of_match[] = {
 static struct platform_driver ipq8064_pinctrl_driver = {
        .driver = {
                .name = "ipq8064-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = ipq8064_pinctrl_of_match,
        },
        .probe = ipq8064_pinctrl_probe,
index 2ab21ce5575a4c9a538877a711aa099287114a68..ed23e367fe89e02d5bb8ad14d4e571d6752ff30c 100644 (file)
@@ -1259,7 +1259,6 @@ static const struct of_device_id msm8960_pinctrl_of_match[] = {
 static struct platform_driver msm8960_pinctrl_driver = {
        .driver = {
                .name = "msm8960-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = msm8960_pinctrl_of_match,
        },
        .probe = msm8960_pinctrl_probe,
index 3c858384d0418580596b258a80210112d74c4e4d..46fe6ad5f97e2ce5f222518afc49e83f9aa4330a 100644 (file)
@@ -1043,7 +1043,6 @@ static const struct of_device_id msm8x74_pinctrl_of_match[] = {
 static struct platform_driver msm8x74_pinctrl_driver = {
        .driver = {
                .name = "msm8x74-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = msm8x74_pinctrl_of_match,
        },
        .probe = msm8x74_pinctrl_probe,