diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:13 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:13 -0400 |
commit | ac204d2290e5a76ecff5b597beb19f98680ef095 (patch) | |
tree | 1dbc03199611f0e2a0399b59593840fb3fb98aa6 /sound/soc | |
parent | bc46ec16a579a5ba2b93f4e87390a466586556ce (diff) |
ASoC: samsung: 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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/samsung/ac97.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/bells.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/i2s.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/idma.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/littlemill.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/lowland.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/odroidx2_max98090.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/s3c2412-i2s.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/s3c24xx-i2s.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/s3c24xx_simtec_hermes.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/s3c24xx_uda134x.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/smdk_wm8580pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/smdk_wm8994.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/smdk_wm8994pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/snow.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/spdif.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/speyside.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/tobermory.c | 1 |
20 files changed, 0 insertions, 20 deletions
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c index e1615113fd84..cb9dd57814ed 100644 --- a/sound/soc/samsung/ac97.c +++ b/sound/soc/samsung/ac97.c | |||
@@ -442,7 +442,6 @@ static struct platform_driver s3c_ac97_driver = { | |||
442 | .remove = s3c_ac97_remove, | 442 | .remove = s3c_ac97_remove, |
443 | .driver = { | 443 | .driver = { |
444 | .name = "samsung-ac97", | 444 | .name = "samsung-ac97", |
445 | .owner = THIS_MODULE, | ||
446 | }, | 445 | }, |
447 | }; | 446 | }; |
448 | 447 | ||
diff --git a/sound/soc/samsung/bells.c b/sound/soc/samsung/bells.c index 5b21207cf551..e5f05e62fa3c 100644 --- a/sound/soc/samsung/bells.c +++ b/sound/soc/samsung/bells.c | |||
@@ -445,7 +445,6 @@ static int bells_probe(struct platform_device *pdev) | |||
445 | static struct platform_driver bells_driver = { | 445 | static struct platform_driver bells_driver = { |
446 | .driver = { | 446 | .driver = { |
447 | .name = "bells", | 447 | .name = "bells", |
448 | .owner = THIS_MODULE, | ||
449 | .pm = &snd_soc_pm_ops, | 448 | .pm = &snd_soc_pm_ops, |
450 | }, | 449 | }, |
451 | .probe = bells_probe, | 450 | .probe = bells_probe, |
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 9d513473b300..2e7097429bee 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c | |||
@@ -1366,7 +1366,6 @@ static struct platform_driver samsung_i2s_driver = { | |||
1366 | .id_table = samsung_i2s_driver_ids, | 1366 | .id_table = samsung_i2s_driver_ids, |
1367 | .driver = { | 1367 | .driver = { |
1368 | .name = "samsung-i2s", | 1368 | .name = "samsung-i2s", |
1369 | .owner = THIS_MODULE, | ||
1370 | .of_match_table = of_match_ptr(exynos_i2s_match), | 1369 | .of_match_table = of_match_ptr(exynos_i2s_match), |
1371 | .pm = &samsung_i2s_pm, | 1370 | .pm = &samsung_i2s_pm, |
1372 | }, | 1371 | }, |
diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c index 0e8dd985fcb3..4ed29ffc1c54 100644 --- a/sound/soc/samsung/idma.c +++ b/sound/soc/samsung/idma.c | |||
@@ -418,7 +418,6 @@ static int asoc_idma_platform_probe(struct platform_device *pdev) | |||
418 | static struct platform_driver asoc_idma_driver = { | 418 | static struct platform_driver asoc_idma_driver = { |
419 | .driver = { | 419 | .driver = { |
420 | .name = "samsung-idma", | 420 | .name = "samsung-idma", |
421 | .owner = THIS_MODULE, | ||
422 | }, | 421 | }, |
423 | 422 | ||
424 | .probe = asoc_idma_platform_probe, | 423 | .probe = asoc_idma_platform_probe, |
diff --git a/sound/soc/samsung/littlemill.c b/sound/soc/samsung/littlemill.c index 840787e63cb1..141519c21e21 100644 --- a/sound/soc/samsung/littlemill.c +++ b/sound/soc/samsung/littlemill.c | |||
@@ -315,7 +315,6 @@ static int littlemill_probe(struct platform_device *pdev) | |||
315 | static struct platform_driver littlemill_driver = { | 315 | static struct platform_driver littlemill_driver = { |
316 | .driver = { | 316 | .driver = { |
317 | .name = "littlemill", | 317 | .name = "littlemill", |
318 | .owner = THIS_MODULE, | ||
319 | .pm = &snd_soc_pm_ops, | 318 | .pm = &snd_soc_pm_ops, |
320 | }, | 319 | }, |
321 | .probe = littlemill_probe, | 320 | .probe = littlemill_probe, |
diff --git a/sound/soc/samsung/lowland.c b/sound/soc/samsung/lowland.c index bd5f0d643a86..243dea7ba38f 100644 --- a/sound/soc/samsung/lowland.c +++ b/sound/soc/samsung/lowland.c | |||
@@ -198,7 +198,6 @@ static int lowland_probe(struct platform_device *pdev) | |||
198 | static struct platform_driver lowland_driver = { | 198 | static struct platform_driver lowland_driver = { |
199 | .driver = { | 199 | .driver = { |
200 | .name = "lowland", | 200 | .name = "lowland", |
201 | .owner = THIS_MODULE, | ||
202 | .pm = &snd_soc_pm_ops, | 201 | .pm = &snd_soc_pm_ops, |
203 | }, | 202 | }, |
204 | .probe = lowland_probe, | 203 | .probe = lowland_probe, |
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c index 3c8f60423e82..1d3c3af5886e 100644 --- a/sound/soc/samsung/odroidx2_max98090.c +++ b/sound/soc/samsung/odroidx2_max98090.c | |||
@@ -162,7 +162,6 @@ static int odroidx2_audio_remove(struct platform_device *pdev) | |||
162 | static struct platform_driver odroidx2_audio_driver = { | 162 | static struct platform_driver odroidx2_audio_driver = { |
163 | .driver = { | 163 | .driver = { |
164 | .name = "odroidx2-audio", | 164 | .name = "odroidx2-audio", |
165 | .owner = THIS_MODULE, | ||
166 | .of_match_table = odroidx2_audio_of_match, | 165 | .of_match_table = odroidx2_audio_of_match, |
167 | .pm = &snd_soc_pm_ops, | 166 | .pm = &snd_soc_pm_ops, |
168 | }, | 167 | }, |
diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c index bac034b15a27..b320a9d3fbf8 100644 --- a/sound/soc/samsung/pcm.c +++ b/sound/soc/samsung/pcm.c | |||
@@ -626,7 +626,6 @@ static struct platform_driver s3c_pcm_driver = { | |||
626 | .remove = s3c_pcm_dev_remove, | 626 | .remove = s3c_pcm_dev_remove, |
627 | .driver = { | 627 | .driver = { |
628 | .name = "samsung-pcm", | 628 | .name = "samsung-pcm", |
629 | .owner = THIS_MODULE, | ||
630 | }, | 629 | }, |
631 | }; | 630 | }; |
632 | 631 | ||
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index 27b339c6580e..2b766d212ce0 100644 --- a/sound/soc/samsung/s3c2412-i2s.c +++ b/sound/soc/samsung/s3c2412-i2s.c | |||
@@ -180,7 +180,6 @@ static struct platform_driver s3c2412_iis_driver = { | |||
180 | .probe = s3c2412_iis_dev_probe, | 180 | .probe = s3c2412_iis_dev_probe, |
181 | .driver = { | 181 | .driver = { |
182 | .name = "s3c2412-iis", | 182 | .name = "s3c2412-iis", |
183 | .owner = THIS_MODULE, | ||
184 | }, | 183 | }, |
185 | }; | 184 | }; |
186 | 185 | ||
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c index e87d9a2053b8..326d3c3804e3 100644 --- a/sound/soc/samsung/s3c24xx-i2s.c +++ b/sound/soc/samsung/s3c24xx-i2s.c | |||
@@ -485,7 +485,6 @@ static struct platform_driver s3c24xx_iis_driver = { | |||
485 | .probe = s3c24xx_iis_dev_probe, | 485 | .probe = s3c24xx_iis_dev_probe, |
486 | .driver = { | 486 | .driver = { |
487 | .name = "s3c24xx-iis", | 487 | .name = "s3c24xx-iis", |
488 | .owner = THIS_MODULE, | ||
489 | }, | 488 | }, |
490 | }; | 489 | }; |
491 | 490 | ||
diff --git a/sound/soc/samsung/s3c24xx_simtec_hermes.c b/sound/soc/samsung/s3c24xx_simtec_hermes.c index 2d30b7b6818a..7ac924c595bf 100644 --- a/sound/soc/samsung/s3c24xx_simtec_hermes.c +++ b/sound/soc/samsung/s3c24xx_simtec_hermes.c | |||
@@ -99,7 +99,6 @@ static int simtec_audio_hermes_probe(struct platform_device *pd) | |||
99 | 99 | ||
100 | static struct platform_driver simtec_audio_hermes_platdrv = { | 100 | static struct platform_driver simtec_audio_hermes_platdrv = { |
101 | .driver = { | 101 | .driver = { |
102 | .owner = THIS_MODULE, | ||
103 | .name = "s3c24xx-simtec-hermes-snd", | 102 | .name = "s3c24xx-simtec-hermes-snd", |
104 | .pm = simtec_audio_pm, | 103 | .pm = simtec_audio_pm, |
105 | }, | 104 | }, |
diff --git a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c index 83f6c7d49cd6..b4ed2fc1a65c 100644 --- a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +++ b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | |||
@@ -87,7 +87,6 @@ static int simtec_audio_tlv320aic23_probe(struct platform_device *pd) | |||
87 | 87 | ||
88 | static struct platform_driver simtec_audio_tlv320aic23_driver = { | 88 | static struct platform_driver simtec_audio_tlv320aic23_driver = { |
89 | .driver = { | 89 | .driver = { |
90 | .owner = THIS_MODULE, | ||
91 | .name = "s3c24xx-simtec-tlv320aic23", | 90 | .name = "s3c24xx-simtec-tlv320aic23", |
92 | .pm = simtec_audio_pm, | 91 | .pm = simtec_audio_pm, |
93 | }, | 92 | }, |
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c index 1b7b52b0af97..9c6f7db56f60 100644 --- a/sound/soc/samsung/s3c24xx_uda134x.c +++ b/sound/soc/samsung/s3c24xx_uda134x.c | |||
@@ -340,7 +340,6 @@ static struct platform_driver s3c24xx_uda134x_driver = { | |||
340 | .remove = s3c24xx_uda134x_remove, | 340 | .remove = s3c24xx_uda134x_remove, |
341 | .driver = { | 341 | .driver = { |
342 | .name = "s3c24xx_uda134x", | 342 | .name = "s3c24xx_uda134x", |
343 | .owner = THIS_MODULE, | ||
344 | }, | 343 | }, |
345 | }; | 344 | }; |
346 | 345 | ||
diff --git a/sound/soc/samsung/smdk_wm8580pcm.c b/sound/soc/samsung/smdk_wm8580pcm.c index 63d079303561..05c609c62de9 100644 --- a/sound/soc/samsung/smdk_wm8580pcm.c +++ b/sound/soc/samsung/smdk_wm8580pcm.c | |||
@@ -173,7 +173,6 @@ static int snd_smdk_probe(struct platform_device *pdev) | |||
173 | 173 | ||
174 | static struct platform_driver snd_smdk_driver = { | 174 | static struct platform_driver snd_smdk_driver = { |
175 | .driver = { | 175 | .driver = { |
176 | .owner = THIS_MODULE, | ||
177 | .name = "samsung-smdk-pcm", | 176 | .name = "samsung-smdk-pcm", |
178 | }, | 177 | }, |
179 | .probe = snd_smdk_probe, | 178 | .probe = snd_smdk_probe, |
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c index 3d6272a8cad2..d38595fbdab7 100644 --- a/sound/soc/samsung/smdk_wm8994.c +++ b/sound/soc/samsung/smdk_wm8994.c | |||
@@ -191,7 +191,6 @@ static int smdk_audio_probe(struct platform_device *pdev) | |||
191 | static struct platform_driver smdk_audio_driver = { | 191 | static struct platform_driver smdk_audio_driver = { |
192 | .driver = { | 192 | .driver = { |
193 | .name = "smdk-audio-wm8994", | 193 | .name = "smdk-audio-wm8994", |
194 | .owner = THIS_MODULE, | ||
195 | .of_match_table = of_match_ptr(samsung_wm8994_of_match), | 194 | .of_match_table = of_match_ptr(samsung_wm8994_of_match), |
196 | .pm = &snd_soc_pm_ops, | 195 | .pm = &snd_soc_pm_ops, |
197 | }, | 196 | }, |
diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c index b6c09979be1f..c470e8eed6e1 100644 --- a/sound/soc/samsung/smdk_wm8994pcm.c +++ b/sound/soc/samsung/smdk_wm8994pcm.c | |||
@@ -143,7 +143,6 @@ static int snd_smdk_probe(struct platform_device *pdev) | |||
143 | 143 | ||
144 | static struct platform_driver snd_smdk_driver = { | 144 | static struct platform_driver snd_smdk_driver = { |
145 | .driver = { | 145 | .driver = { |
146 | .owner = THIS_MODULE, | ||
147 | .name = "samsung-smdk-pcm", | 146 | .name = "samsung-smdk-pcm", |
148 | }, | 147 | }, |
149 | .probe = snd_smdk_probe, | 148 | .probe = snd_smdk_probe, |
diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index 0acf5d0eed53..61e8efd9f779 100644 --- a/sound/soc/samsung/snow.c +++ b/sound/soc/samsung/snow.c | |||
@@ -114,7 +114,6 @@ static const struct of_device_id snow_of_match[] = { | |||
114 | static struct platform_driver snow_driver = { | 114 | static struct platform_driver snow_driver = { |
115 | .driver = { | 115 | .driver = { |
116 | .name = "snow-audio", | 116 | .name = "snow-audio", |
117 | .owner = THIS_MODULE, | ||
118 | .pm = &snd_soc_pm_ops, | 117 | .pm = &snd_soc_pm_ops, |
119 | .of_match_table = snow_of_match, | 118 | .of_match_table = snow_of_match, |
120 | }, | 119 | }, |
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c index d7d2e208f486..36dbc0e96004 100644 --- a/sound/soc/samsung/spdif.c +++ b/sound/soc/samsung/spdif.c | |||
@@ -477,7 +477,6 @@ static struct platform_driver samsung_spdif_driver = { | |||
477 | .remove = spdif_remove, | 477 | .remove = spdif_remove, |
478 | .driver = { | 478 | .driver = { |
479 | .name = "samsung-spdif", | 479 | .name = "samsung-spdif", |
480 | .owner = THIS_MODULE, | ||
481 | }, | 480 | }, |
482 | }; | 481 | }; |
483 | 482 | ||
diff --git a/sound/soc/samsung/speyside.c b/sound/soc/samsung/speyside.c index a05482651aae..5ec7c52282f2 100644 --- a/sound/soc/samsung/speyside.c +++ b/sound/soc/samsung/speyside.c | |||
@@ -340,7 +340,6 @@ static int speyside_probe(struct platform_device *pdev) | |||
340 | static struct platform_driver speyside_driver = { | 340 | static struct platform_driver speyside_driver = { |
341 | .driver = { | 341 | .driver = { |
342 | .name = "speyside", | 342 | .name = "speyside", |
343 | .owner = THIS_MODULE, | ||
344 | .pm = &snd_soc_pm_ops, | 343 | .pm = &snd_soc_pm_ops, |
345 | }, | 344 | }, |
346 | .probe = speyside_probe, | 345 | .probe = speyside_probe, |
diff --git a/sound/soc/samsung/tobermory.c b/sound/soc/samsung/tobermory.c index 6a2b9f14d624..9c80506527c4 100644 --- a/sound/soc/samsung/tobermory.c +++ b/sound/soc/samsung/tobermory.c | |||
@@ -234,7 +234,6 @@ static int tobermory_probe(struct platform_device *pdev) | |||
234 | static struct platform_driver tobermory_driver = { | 234 | static struct platform_driver tobermory_driver = { |
235 | .driver = { | 235 | .driver = { |
236 | .name = "tobermory", | 236 | .name = "tobermory", |
237 | .owner = THIS_MODULE, | ||
238 | .pm = &snd_soc_pm_ops, | 237 | .pm = &snd_soc_pm_ops, |
239 | }, | 238 | }, |
240 | .probe = tobermory_probe, | 239 | .probe = tobermory_probe, |