Skip to content

Commit

Permalink
ALSA: atmel: 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 6851da1 commit 16573a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion sound/atmel/abdac.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ static struct platform_driver atmel_abdac_driver = {
.remove = atmel_abdac_remove,
.driver = {
.name = "atmel_abdac",
.owner = THIS_MODULE,
.pm = ATMEL_ABDAC_PM_OPS,
},
};
Expand Down
1 change: 0 additions & 1 deletion sound/atmel/ac97c.c
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,6 @@ static struct platform_driver atmel_ac97c_driver = {
.remove = atmel_ac97c_remove,
.driver = {
.name = "atmel_ac97c",
.owner = THIS_MODULE,
.pm = ATMEL_AC97C_PM_OPS,
},
};
Expand Down

0 comments on commit 16573a9

Please sign in to comment.