Skip to content

Commit

Permalink
ARM: mach-msm: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent f2633f8 commit a46ca32
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/arm/mach-msm/clock-pcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ static struct platform_driver msm_clock_pcom_driver = {
.probe = msm_clock_pcom_probe,
.driver = {
.name = "msm-clock-pcom",
.owner = THIS_MODULE,
},
};
module_platform_driver(msm_clock_pcom_driver);
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-msm/smd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,6 @@ static struct platform_driver msm_smd_driver = {
.probe = msm_smd_probe,
.driver = {
.name = MODULE_NAME,
.owner = THIS_MODULE,
},
};

Expand Down

0 comments on commit a46ca32

Please sign in to comment.