Skip to content

Commit 79cd176

Browse files
author
Wolfram Sang
committed
ALSA: sparc: drop owner assignment from platform_drivers
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]>
1 parent c9e2fae commit 79cd176

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

sound/sparc/amd7930.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,6 @@ static const struct of_device_id amd7930_match[] = {
10671067
static struct platform_driver amd7930_sbus_driver = {
10681068
.driver = {
10691069
.name = "audio",
1070-
.owner = THIS_MODULE,
10711070
.of_match_table = amd7930_match,
10721071
},
10731072
.probe = amd7930_sbus_probe,

sound/sparc/cs4231.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2119,7 +2119,6 @@ MODULE_DEVICE_TABLE(of, cs4231_match);
21192119
static struct platform_driver cs4231_driver = {
21202120
.driver = {
21212121
.name = "audio",
2122-
.owner = THIS_MODULE,
21232122
.of_match_table = cs4231_match,
21242123
},
21252124
.probe = cs4231_probe,

sound/sparc/dbri.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2686,7 +2686,6 @@ MODULE_DEVICE_TABLE(of, dbri_match);
26862686
static struct platform_driver dbri_sbus_driver = {
26872687
.driver = {
26882688
.name = "dbri",
2689-
.owner = THIS_MODULE,
26902689
.of_match_table = dbri_match,
26912690
},
26922691
.probe = dbri_probe,

0 commit comments

Comments
 (0)