Skip to content

Commit 1cfc291

Browse files
author
Wolfram Sang
committed
ASoC: txx9: 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 89032b1 commit 1cfc291

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

sound/soc/txx9/txx9aclc-ac97.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ static struct platform_driver txx9aclc_ac97_driver = {
224224
.remove = txx9aclc_ac97_dev_remove,
225225
.driver = {
226226
.name = "txx9aclc-ac97",
227-
.owner = THIS_MODULE,
228227
},
229228
};
230229

sound/soc/txx9/txx9aclc-generic.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ static struct platform_driver txx9aclc_generic_driver = {
6666
.remove = __exit_p(txx9aclc_generic_remove),
6767
.driver = {
6868
.name = "txx9aclc-generic",
69-
.owner = THIS_MODULE,
7069
},
7170
};
7271

sound/soc/txx9/txx9aclc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ static int txx9aclc_soc_platform_remove(struct platform_device *pdev)
429429
static struct platform_driver txx9aclc_pcm_driver = {
430430
.driver = {
431431
.name = "txx9aclc-pcm-audio",
432-
.owner = THIS_MODULE,
433432
},
434433

435434
.probe = txx9aclc_soc_platform_probe,

0 commit comments

Comments
 (0)