Skip to content

Commit

Permalink
ALSA: sparc: 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 c9e2fae commit 79cd176
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion sound/sparc/amd7930.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,6 @@ static const struct of_device_id amd7930_match[] = {
static struct platform_driver amd7930_sbus_driver = {
.driver = {
.name = "audio",
.owner = THIS_MODULE,
.of_match_table = amd7930_match,
},
.probe = amd7930_sbus_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/sparc/cs4231.c
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,6 @@ MODULE_DEVICE_TABLE(of, cs4231_match);
static struct platform_driver cs4231_driver = {
.driver = {
.name = "audio",
.owner = THIS_MODULE,
.of_match_table = cs4231_match,
},
.probe = cs4231_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/sparc/dbri.c
Original file line number Diff line number Diff line change
Expand Up @@ -2686,7 +2686,6 @@ MODULE_DEVICE_TABLE(of, dbri_match);
static struct platform_driver dbri_sbus_driver = {
.driver = {
.name = "dbri",
.owner = THIS_MODULE,
.of_match_table = dbri_match,
},
.probe = dbri_probe,
Expand Down

0 comments on commit 79cd176

Please sign in to comment.