Skip to content

Commit c9e2fae

Browse files
author
Wolfram Sang
committed
ASoC: ux500: 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 1cfc291 commit c9e2fae

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

sound/soc/ux500/mop500.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ static const struct of_device_id snd_soc_mop500_match[] = {
159159

160160
static struct platform_driver snd_soc_mop500_driver = {
161161
.driver = {
162-
.owner = THIS_MODULE,
163162
.name = "snd-soc-mop500",
164163
.of_match_table = snd_soc_mop500_match,
165164
},

sound/soc/ux500/ux500_msp_dai.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,6 @@ static const struct of_device_id ux500_msp_i2s_match[] = {
856856
static struct platform_driver msp_i2s_driver = {
857857
.driver = {
858858
.name = "ux500-msp-i2s",
859-
.owner = THIS_MODULE,
860859
.of_match_table = ux500_msp_i2s_match,
861860
},
862861
.probe = ux500_msp_drv_probe,

0 commit comments

Comments
 (0)