Skip to content

Commit

Permalink
ARM: mach-omap2: 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 a46ca32 commit ceb8ef2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-omap2/gpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,6 @@ static struct platform_driver gpmc_driver = {
.remove = gpmc_remove,
.driver = {
.name = DEVICE_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(gpmc_dt_ids),
.pm = &gpmc_pm_ops,
},
Expand Down

0 comments on commit ceb8ef2

Please sign in to comment.