diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:09 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:09 -0400 |
commit | 3c1af8802e459b2d1159dd9665b9ae14a1f15a5c (patch) | |
tree | 00b30677572c90ca9e6e010a84076e4df016aab8 /sound | |
parent | ffd35fa74f8ce5db0a980ae5b1d16cb4afe034d6 (diff) |
ASoC: intel: 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')
-rw-r--r-- | sound/soc/intel/broadwell.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/byt-max98090.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/byt-rt5640.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/haswell.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/mfld_machine.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/sst-acpi.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/sst-baytrail-pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/sst-haswell-pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/sst-mfld-platform-pcm.c | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/intel/broadwell.c b/sound/soc/intel/broadwell.c index 0e550f14028f..8db22982f259 100644 --- a/sound/soc/intel/broadwell.c +++ b/sound/soc/intel/broadwell.c | |||
@@ -238,7 +238,6 @@ static struct platform_driver broadwell_audio = { | |||
238 | .remove = broadwell_audio_remove, | 238 | .remove = broadwell_audio_remove, |
239 | .driver = { | 239 | .driver = { |
240 | .name = "broadwell-audio", | 240 | .name = "broadwell-audio", |
241 | .owner = THIS_MODULE, | ||
242 | }, | 241 | }, |
243 | }; | 242 | }; |
244 | 243 | ||
diff --git a/sound/soc/intel/byt-max98090.c b/sound/soc/intel/byt-max98090.c index d52681e7225e..9832afe7d22c 100644 --- a/sound/soc/intel/byt-max98090.c +++ b/sound/soc/intel/byt-max98090.c | |||
@@ -181,7 +181,6 @@ static struct platform_driver byt_max98090_driver = { | |||
181 | .remove = byt_max98090_remove, | 181 | .remove = byt_max98090_remove, |
182 | .driver = { | 182 | .driver = { |
183 | .name = "byt-max98090", | 183 | .name = "byt-max98090", |
184 | .owner = THIS_MODULE, | ||
185 | .pm = &snd_soc_pm_ops, | 184 | .pm = &snd_soc_pm_ops, |
186 | }, | 185 | }, |
187 | }; | 186 | }; |
diff --git a/sound/soc/intel/byt-rt5640.c b/sound/soc/intel/byt-rt5640.c index e03abdf21c1b..0cba7830c5e9 100644 --- a/sound/soc/intel/byt-rt5640.c +++ b/sound/soc/intel/byt-rt5640.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver byt_rt5640_audio = { | |||
224 | .probe = byt_rt5640_probe, | 224 | .probe = byt_rt5640_probe, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "byt-rt5640", | 226 | .name = "byt-rt5640", |
227 | .owner = THIS_MODULE, | ||
228 | .pm = &snd_soc_pm_ops, | 227 | .pm = &snd_soc_pm_ops, |
229 | }, | 228 | }, |
230 | }; | 229 | }; |
diff --git a/sound/soc/intel/haswell.c b/sound/soc/intel/haswell.c index 3981982674ac..9de3f8c4ddc6 100644 --- a/sound/soc/intel/haswell.c +++ b/sound/soc/intel/haswell.c | |||
@@ -209,7 +209,6 @@ static struct platform_driver haswell_audio = { | |||
209 | .probe = haswell_audio_probe, | 209 | .probe = haswell_audio_probe, |
210 | .driver = { | 210 | .driver = { |
211 | .name = "haswell-audio", | 211 | .name = "haswell-audio", |
212 | .owner = THIS_MODULE, | ||
213 | }, | 212 | }, |
214 | }; | 213 | }; |
215 | 214 | ||
diff --git a/sound/soc/intel/mfld_machine.c b/sound/soc/intel/mfld_machine.c index 031d78783fc8..90b7a57713a0 100644 --- a/sound/soc/intel/mfld_machine.c +++ b/sound/soc/intel/mfld_machine.c | |||
@@ -420,7 +420,6 @@ static int snd_mfld_mc_probe(struct platform_device *pdev) | |||
420 | 420 | ||
421 | static struct platform_driver snd_mfld_mc_driver = { | 421 | static struct platform_driver snd_mfld_mc_driver = { |
422 | .driver = { | 422 | .driver = { |
423 | .owner = THIS_MODULE, | ||
424 | .name = "msic_audio", | 423 | .name = "msic_audio", |
425 | }, | 424 | }, |
426 | .probe = snd_mfld_mc_probe, | 425 | .probe = snd_mfld_mc_probe, |
diff --git a/sound/soc/intel/sst-acpi.c b/sound/soc/intel/sst-acpi.c index 03d0a166b635..b3d84560fbb5 100644 --- a/sound/soc/intel/sst-acpi.c +++ b/sound/soc/intel/sst-acpi.c | |||
@@ -275,7 +275,6 @@ static struct platform_driver sst_acpi_driver = { | |||
275 | .remove = sst_acpi_remove, | 275 | .remove = sst_acpi_remove, |
276 | .driver = { | 276 | .driver = { |
277 | .name = "sst-acpi", | 277 | .name = "sst-acpi", |
278 | .owner = THIS_MODULE, | ||
279 | .acpi_match_table = ACPI_PTR(sst_acpi_match), | 278 | .acpi_match_table = ACPI_PTR(sst_acpi_match), |
280 | }, | 279 | }, |
281 | }; | 280 | }; |
diff --git a/sound/soc/intel/sst-baytrail-pcm.c b/sound/soc/intel/sst-baytrail-pcm.c index eab1c7d85187..3bb6288d8b4d 100644 --- a/sound/soc/intel/sst-baytrail-pcm.c +++ b/sound/soc/intel/sst-baytrail-pcm.c | |||
@@ -497,7 +497,6 @@ static int sst_byt_pcm_dev_remove(struct platform_device *pdev) | |||
497 | static struct platform_driver sst_byt_pcm_driver = { | 497 | static struct platform_driver sst_byt_pcm_driver = { |
498 | .driver = { | 498 | .driver = { |
499 | .name = "baytrail-pcm-audio", | 499 | .name = "baytrail-pcm-audio", |
500 | .owner = THIS_MODULE, | ||
501 | .pm = SST_BYT_PM_OPS, | 500 | .pm = SST_BYT_PM_OPS, |
502 | }, | 501 | }, |
503 | 502 | ||
diff --git a/sound/soc/intel/sst-haswell-pcm.c b/sound/soc/intel/sst-haswell-pcm.c index 33fc5c3abf55..467dac3b1075 100644 --- a/sound/soc/intel/sst-haswell-pcm.c +++ b/sound/soc/intel/sst-haswell-pcm.c | |||
@@ -901,7 +901,6 @@ static int hsw_pcm_dev_remove(struct platform_device *pdev) | |||
901 | static struct platform_driver hsw_pcm_driver = { | 901 | static struct platform_driver hsw_pcm_driver = { |
902 | .driver = { | 902 | .driver = { |
903 | .name = "haswell-pcm-audio", | 903 | .name = "haswell-pcm-audio", |
904 | .owner = THIS_MODULE, | ||
905 | }, | 904 | }, |
906 | 905 | ||
907 | .probe = hsw_pcm_dev_probe, | 906 | .probe = hsw_pcm_dev_probe, |
diff --git a/sound/soc/intel/sst-mfld-platform-pcm.c b/sound/soc/intel/sst-mfld-platform-pcm.c index aa9b600dfc9b..a31536b8dcca 100644 --- a/sound/soc/intel/sst-mfld-platform-pcm.c +++ b/sound/soc/intel/sst-mfld-platform-pcm.c | |||
@@ -639,7 +639,6 @@ static int sst_platform_remove(struct platform_device *pdev) | |||
639 | static struct platform_driver sst_platform_driver = { | 639 | static struct platform_driver sst_platform_driver = { |
640 | .driver = { | 640 | .driver = { |
641 | .name = "sst-mfld-platform", | 641 | .name = "sst-mfld-platform", |
642 | .owner = THIS_MODULE, | ||
643 | }, | 642 | }, |
644 | .probe = sst_platform_probe, | 643 | .probe = sst_platform_probe, |
645 | .remove = sst_platform_remove, | 644 | .remove = sst_platform_remove, |