OSDN Git Service

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 c832d7d..cd96699 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 138cbf6..d07e8df 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 81f49a9..bcb29c0 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 2ab21ce..ed23e36 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 3c85838..46fe6ad 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,