Skip to content

Commit

Permalink
ALSA: sh: 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 85be0fa commit 9717b20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion sound/sh/aica.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,6 @@ static struct platform_driver snd_aica_driver = {
.remove = snd_aica_remove,
.driver = {
.name = SND_AICA_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
1 change: 0 additions & 1 deletion sound/sh/sh_dac_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,6 @@ static struct platform_driver sh_dac_driver = {
.remove = snd_sh_dac_remove,
.driver = {
.name = "dac_audio",
.owner = THIS_MODULE,
},
};

Expand Down

0 comments on commit 9717b20

Please sign in to comment.