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>
This commit is contained in:

committed by
Mike Turquette

parent
fa531042ac
commit
59c0621d4d
@@ -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,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user