diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-09-24 11:45:29 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-26 02:43:31 +0200 |
commit | 59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2 (patch) | |
tree | a05845b229d26b2cb9bf0765ed3e69f42afbe5bb /drivers/clk/qcom | |
parent | Merge branch 'clk-next-rockchip' into clk-next (diff) | |
download | linux-59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2.tar.xz linux-59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2.zip |
clk: Remove .owner field for driver
There is no need to init .owner field.
Based on the patch from Peter Griffin <peter.griffin@linaro.org>
"mmc: remove .owner field for drivers using module_platform_driver"
This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."
Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/qcom')
-rw-r--r-- | drivers/clk/qcom/mmcc-apq8084.c | 1 | ||||
-rw-r--r-- | drivers/clk/qcom/mmcc-msm8960.c | 1 | ||||
-rw-r--r-- | drivers/clk/qcom/mmcc-msm8974.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/qcom/mmcc-apq8084.c b/drivers/clk/qcom/mmcc-apq8084.c index 751eea376a2b..dab988ab8cf1 100644 --- a/drivers/clk/qcom/mmcc-apq8084.c +++ b/drivers/clk/qcom/mmcc-apq8084.c @@ -3341,7 +3341,6 @@ static struct platform_driver mmcc_apq8084_driver = { .remove = mmcc_apq8084_remove, .driver = { .name = "mmcc-apq8084", - .owner = THIS_MODULE, .of_match_table = mmcc_apq8084_match_table, }, }; diff --git a/drivers/clk/qcom/mmcc-msm8960.c b/drivers/clk/qcom/mmcc-msm8960.c index 2e80a219b8ea..68da36cd7ed0 100644 --- a/drivers/clk/qcom/mmcc-msm8960.c +++ b/drivers/clk/qcom/mmcc-msm8960.c @@ -2679,7 +2679,6 @@ static struct platform_driver mmcc_msm8960_driver = { .remove = mmcc_msm8960_remove, .driver = { .name = "mmcc-msm8960", - .owner = THIS_MODULE, .of_match_table = mmcc_msm8960_match_table, }, }; diff --git a/drivers/clk/qcom/mmcc-msm8974.c b/drivers/clk/qcom/mmcc-msm8974.c index bc8f519c47aa..be94c54a9a4f 100644 --- a/drivers/clk/qcom/mmcc-msm8974.c +++ b/drivers/clk/qcom/mmcc-msm8974.c @@ -2570,7 +2570,6 @@ static struct platform_driver mmcc_msm8974_driver = { .remove = mmcc_msm8974_remove, .driver = { .name = "mmcc-msm8974", - .owner = THIS_MODULE, .of_match_table = mmcc_msm8974_match_table, }, }; |