Skip to content

Commit 0d3d8be

Browse files
author
Wolfram Sang
committed
ALSA: mips: 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 <wsa@the-dreams.de>
1 parent cb4fe8a commit 0d3d8be

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎sound/mips/hal2.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,6 @@ static struct platform_driver hal2_driver = {
929929
.remove = hal2_remove,
930930
.driver = {
931931
.name = "sgihal2",
932-
.owner = THIS_MODULE,
933932
}
934933
};
935934

‎sound/mips/sgio2audio.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,6 @@ static struct platform_driver sgio2audio_driver = {
970970
.remove = snd_sgio2audio_remove,
971971
.driver = {
972972
.name = "sgio2audio",
973-
.owner = THIS_MODULE,
974973
}
975974
};
976975

0 commit comments

Comments
 (0)