diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:11 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:11 -0400 |
commit | 08d30ecc67ee1ef222ee1b92b342b9ce51d29a39 (patch) | |
tree | 99114262b6214ef2fe12b02e360d1ca23779345b /sound | |
parent | d34135b4c0ef4508f514ba43e02b226e4ba9236b (diff) |
ASoC: pxa: 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/pxa/brownstone.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/corgi.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/e740_wm9705.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/e750_wm9705.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/e800_wm9712.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/hx4700.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/imote2.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/mioa701_wm9713.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/mmp-pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/mmp-sspa.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/palm27x.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/poodle.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/pxa-ssp.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/pxa2xx-ac97.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/pxa2xx-i2s.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/pxa2xx-pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/tosa.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/ttc-dkb.c | 1 |
18 files changed, 0 insertions, 18 deletions
diff --git a/sound/soc/pxa/brownstone.c b/sound/soc/pxa/brownstone.c index c8dd53f9c35d..79936e3e80e7 100644 --- a/sound/soc/pxa/brownstone.c +++ b/sound/soc/pxa/brownstone.c | |||
@@ -155,7 +155,6 @@ static int brownstone_remove(struct platform_device *pdev) | |||
155 | static struct platform_driver mmp_driver = { | 155 | static struct platform_driver mmp_driver = { |
156 | .driver = { | 156 | .driver = { |
157 | .name = "brownstone-audio", | 157 | .name = "brownstone-audio", |
158 | .owner = THIS_MODULE, | ||
159 | .pm = &snd_soc_pm_ops, | 158 | .pm = &snd_soc_pm_ops, |
160 | }, | 159 | }, |
161 | .probe = brownstone_probe, | 160 | .probe = brownstone_probe, |
diff --git a/sound/soc/pxa/corgi.c b/sound/soc/pxa/corgi.c index 5a88136aa800..b7cd0a71fd70 100644 --- a/sound/soc/pxa/corgi.c +++ b/sound/soc/pxa/corgi.c | |||
@@ -327,7 +327,6 @@ static int corgi_remove(struct platform_device *pdev) | |||
327 | static struct platform_driver corgi_driver = { | 327 | static struct platform_driver corgi_driver = { |
328 | .driver = { | 328 | .driver = { |
329 | .name = "corgi-audio", | 329 | .name = "corgi-audio", |
330 | .owner = THIS_MODULE, | ||
331 | .pm = &snd_soc_pm_ops, | 330 | .pm = &snd_soc_pm_ops, |
332 | }, | 331 | }, |
333 | .probe = corgi_probe, | 332 | .probe = corgi_probe, |
diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c index c29fedab2f49..7c691aae8af2 100644 --- a/sound/soc/pxa/e740_wm9705.c +++ b/sound/soc/pxa/e740_wm9705.c | |||
@@ -177,7 +177,6 @@ static int e740_remove(struct platform_device *pdev) | |||
177 | static struct platform_driver e740_driver = { | 177 | static struct platform_driver e740_driver = { |
178 | .driver = { | 178 | .driver = { |
179 | .name = "e740-audio", | 179 | .name = "e740-audio", |
180 | .owner = THIS_MODULE, | ||
181 | .pm = &snd_soc_pm_ops, | 180 | .pm = &snd_soc_pm_ops, |
182 | }, | 181 | }, |
183 | .probe = e740_probe, | 182 | .probe = e740_probe, |
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c index ee36aba88063..30544b65b5a8 100644 --- a/sound/soc/pxa/e750_wm9705.c +++ b/sound/soc/pxa/e750_wm9705.c | |||
@@ -159,7 +159,6 @@ static int e750_remove(struct platform_device *pdev) | |||
159 | static struct platform_driver e750_driver = { | 159 | static struct platform_driver e750_driver = { |
160 | .driver = { | 160 | .driver = { |
161 | .name = "e750-audio", | 161 | .name = "e750-audio", |
162 | .owner = THIS_MODULE, | ||
163 | .pm = &snd_soc_pm_ops, | 162 | .pm = &snd_soc_pm_ops, |
164 | }, | 163 | }, |
165 | .probe = e750_probe, | 164 | .probe = e750_probe, |
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c index 24c2078ce70b..45d4bd46fff6 100644 --- a/sound/soc/pxa/e800_wm9712.c +++ b/sound/soc/pxa/e800_wm9712.c | |||
@@ -140,7 +140,6 @@ static int e800_remove(struct platform_device *pdev) | |||
140 | static struct platform_driver e800_driver = { | 140 | static struct platform_driver e800_driver = { |
141 | .driver = { | 141 | .driver = { |
142 | .name = "e800-audio", | 142 | .name = "e800-audio", |
143 | .owner = THIS_MODULE, | ||
144 | .pm = &snd_soc_pm_ops, | 143 | .pm = &snd_soc_pm_ops, |
145 | }, | 144 | }, |
146 | .probe = e800_probe, | 145 | .probe = e800_probe, |
diff --git a/sound/soc/pxa/hx4700.c b/sound/soc/pxa/hx4700.c index 05559a725bec..ce26551052a3 100644 --- a/sound/soc/pxa/hx4700.c +++ b/sound/soc/pxa/hx4700.c | |||
@@ -226,7 +226,6 @@ static int hx4700_audio_remove(struct platform_device *pdev) | |||
226 | static struct platform_driver hx4700_audio_driver = { | 226 | static struct platform_driver hx4700_audio_driver = { |
227 | .driver = { | 227 | .driver = { |
228 | .name = "hx4700-audio", | 228 | .name = "hx4700-audio", |
229 | .owner = THIS_MODULE, | ||
230 | .pm = &snd_soc_pm_ops, | 229 | .pm = &snd_soc_pm_ops, |
231 | }, | 230 | }, |
232 | .probe = hx4700_audio_probe, | 231 | .probe = hx4700_audio_probe, |
diff --git a/sound/soc/pxa/imote2.c b/sound/soc/pxa/imote2.c index fd2f4eda1fd3..29fabbfd21f1 100644 --- a/sound/soc/pxa/imote2.c +++ b/sound/soc/pxa/imote2.c | |||
@@ -90,7 +90,6 @@ static int imote2_remove(struct platform_device *pdev) | |||
90 | static struct platform_driver imote2_driver = { | 90 | static struct platform_driver imote2_driver = { |
91 | .driver = { | 91 | .driver = { |
92 | .name = "imote2-audio", | 92 | .name = "imote2-audio", |
93 | .owner = THIS_MODULE, | ||
94 | .pm = &snd_soc_pm_ops, | 93 | .pm = &snd_soc_pm_ops, |
95 | }, | 94 | }, |
96 | .probe = imote2_probe, | 95 | .probe = imote2_probe, |
diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c index 595eee341e90..0d746cc880c1 100644 --- a/sound/soc/pxa/mioa701_wm9713.c +++ b/sound/soc/pxa/mioa701_wm9713.c | |||
@@ -205,7 +205,6 @@ static struct platform_driver mioa701_wm9713_driver = { | |||
205 | .remove = mioa701_wm9713_remove, | 205 | .remove = mioa701_wm9713_remove, |
206 | .driver = { | 206 | .driver = { |
207 | .name = "mioa701-wm9713", | 207 | .name = "mioa701-wm9713", |
208 | .owner = THIS_MODULE, | ||
209 | .pm = &snd_soc_pm_ops, | 208 | .pm = &snd_soc_pm_ops, |
210 | }, | 209 | }, |
211 | }; | 210 | }; |
diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c index 64e8b949a1a3..1eb45dcfb8e8 100644 --- a/sound/soc/pxa/mmp-pcm.c +++ b/sound/soc/pxa/mmp-pcm.c | |||
@@ -244,7 +244,6 @@ static int mmp_pcm_remove(struct platform_device *pdev) | |||
244 | static struct platform_driver mmp_pcm_driver = { | 244 | static struct platform_driver mmp_pcm_driver = { |
245 | .driver = { | 245 | .driver = { |
246 | .name = "mmp-pcm-audio", | 246 | .name = "mmp-pcm-audio", |
247 | .owner = THIS_MODULE, | ||
248 | }, | 247 | }, |
249 | 248 | ||
250 | .probe = mmp_pcm_probe, | 249 | .probe = mmp_pcm_probe, |
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c index 5bf5f1f7cac5..eca60c29791a 100644 --- a/sound/soc/pxa/mmp-sspa.c +++ b/sound/soc/pxa/mmp-sspa.c | |||
@@ -472,7 +472,6 @@ static int asoc_mmp_sspa_remove(struct platform_device *pdev) | |||
472 | static struct platform_driver asoc_mmp_sspa_driver = { | 472 | static struct platform_driver asoc_mmp_sspa_driver = { |
473 | .driver = { | 473 | .driver = { |
474 | .name = "mmp-sspa-dai", | 474 | .name = "mmp-sspa-dai", |
475 | .owner = THIS_MODULE, | ||
476 | }, | 475 | }, |
477 | .probe = asoc_mmp_sspa_probe, | 476 | .probe = asoc_mmp_sspa_probe, |
478 | .remove = asoc_mmp_sspa_remove, | 477 | .remove = asoc_mmp_sspa_remove, |
diff --git a/sound/soc/pxa/palm27x.c b/sound/soc/pxa/palm27x.c index 17f9521ff6ea..1eebca2f0a97 100644 --- a/sound/soc/pxa/palm27x.c +++ b/sound/soc/pxa/palm27x.c | |||
@@ -172,7 +172,6 @@ static struct platform_driver palm27x_wm9712_driver = { | |||
172 | .remove = palm27x_asoc_remove, | 172 | .remove = palm27x_asoc_remove, |
173 | .driver = { | 173 | .driver = { |
174 | .name = "palm27x-asoc", | 174 | .name = "palm27x-asoc", |
175 | .owner = THIS_MODULE, | ||
176 | .pm = &snd_soc_pm_ops, | 175 | .pm = &snd_soc_pm_ops, |
177 | }, | 176 | }, |
178 | }; | 177 | }; |
diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c index 21f340065318..0fce8c420e96 100644 --- a/sound/soc/pxa/poodle.c +++ b/sound/soc/pxa/poodle.c | |||
@@ -296,7 +296,6 @@ static int poodle_remove(struct platform_device *pdev) | |||
296 | static struct platform_driver poodle_driver = { | 296 | static struct platform_driver poodle_driver = { |
297 | .driver = { | 297 | .driver = { |
298 | .name = "poodle-audio", | 298 | .name = "poodle-audio", |
299 | .owner = THIS_MODULE, | ||
300 | .pm = &snd_soc_pm_ops, | 299 | .pm = &snd_soc_pm_ops, |
301 | }, | 300 | }, |
302 | .probe = poodle_probe, | 301 | .probe = poodle_probe, |
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index a8e097433074..020b79a23f92 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c | |||
@@ -826,7 +826,6 @@ static int asoc_ssp_remove(struct platform_device *pdev) | |||
826 | static struct platform_driver asoc_ssp_driver = { | 826 | static struct platform_driver asoc_ssp_driver = { |
827 | .driver = { | 827 | .driver = { |
828 | .name = "pxa-ssp-dai", | 828 | .name = "pxa-ssp-dai", |
829 | .owner = THIS_MODULE, | ||
830 | .of_match_table = of_match_ptr(pxa_ssp_of_ids), | 829 | .of_match_table = of_match_ptr(pxa_ssp_of_ids), |
831 | }, | 830 | }, |
832 | 831 | ||
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c index ae956e3f4b9d..9455314e1281 100644 --- a/sound/soc/pxa/pxa2xx-ac97.c +++ b/sound/soc/pxa/pxa2xx-ac97.c | |||
@@ -261,7 +261,6 @@ static struct platform_driver pxa2xx_ac97_driver = { | |||
261 | .remove = pxa2xx_ac97_dev_remove, | 261 | .remove = pxa2xx_ac97_dev_remove, |
262 | .driver = { | 262 | .driver = { |
263 | .name = "pxa2xx-ac97", | 263 | .name = "pxa2xx-ac97", |
264 | .owner = THIS_MODULE, | ||
265 | #ifdef CONFIG_PM_SLEEP | 264 | #ifdef CONFIG_PM_SLEEP |
266 | .pm = &pxa2xx_ac97_pm_ops, | 265 | .pm = &pxa2xx_ac97_pm_ops, |
267 | #endif | 266 | #endif |
diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c index c0d648d3339f..e68290c15328 100644 --- a/sound/soc/pxa/pxa2xx-i2s.c +++ b/sound/soc/pxa/pxa2xx-i2s.c | |||
@@ -383,7 +383,6 @@ static struct platform_driver pxa2xx_i2s_driver = { | |||
383 | 383 | ||
384 | .driver = { | 384 | .driver = { |
385 | .name = "pxa2xx-i2s", | 385 | .name = "pxa2xx-i2s", |
386 | .owner = THIS_MODULE, | ||
387 | }, | 386 | }, |
388 | }; | 387 | }; |
389 | 388 | ||
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c index 42f2f0175981..a51c9da66614 100644 --- a/sound/soc/pxa/pxa2xx-pcm.c +++ b/sound/soc/pxa/pxa2xx-pcm.c | |||
@@ -143,7 +143,6 @@ static const struct of_device_id snd_soc_pxa_audio_match[] = { | |||
143 | static struct platform_driver pxa_pcm_driver = { | 143 | static struct platform_driver pxa_pcm_driver = { |
144 | .driver = { | 144 | .driver = { |
145 | .name = "pxa-pcm-audio", | 145 | .name = "pxa-pcm-audio", |
146 | .owner = THIS_MODULE, | ||
147 | .of_match_table = of_match_ptr(snd_soc_pxa_audio_match), | 146 | .of_match_table = of_match_ptr(snd_soc_pxa_audio_match), |
148 | }, | 147 | }, |
149 | 148 | ||
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c index 4a956d1cb269..cb49284e853a 100644 --- a/sound/soc/pxa/tosa.c +++ b/sound/soc/pxa/tosa.c | |||
@@ -265,7 +265,6 @@ static int tosa_remove(struct platform_device *pdev) | |||
265 | static struct platform_driver tosa_driver = { | 265 | static struct platform_driver tosa_driver = { |
266 | .driver = { | 266 | .driver = { |
267 | .name = "tosa-audio", | 267 | .name = "tosa-audio", |
268 | .owner = THIS_MODULE, | ||
269 | .pm = &snd_soc_pm_ops, | 268 | .pm = &snd_soc_pm_ops, |
270 | }, | 269 | }, |
271 | .probe = tosa_probe, | 270 | .probe = tosa_probe, |
diff --git a/sound/soc/pxa/ttc-dkb.c b/sound/soc/pxa/ttc-dkb.c index 9d7c5b7e9539..e3d7257ad09c 100644 --- a/sound/soc/pxa/ttc-dkb.c +++ b/sound/soc/pxa/ttc-dkb.c | |||
@@ -155,7 +155,6 @@ static int ttc_dkb_remove(struct platform_device *pdev) | |||
155 | static struct platform_driver ttc_dkb_driver = { | 155 | static struct platform_driver ttc_dkb_driver = { |
156 | .driver = { | 156 | .driver = { |
157 | .name = "ttc-dkb-audio", | 157 | .name = "ttc-dkb-audio", |
158 | .owner = THIS_MODULE, | ||
159 | .pm = &snd_soc_pm_ops, | 158 | .pm = &snd_soc_pm_ops, |
160 | }, | 159 | }, |
161 | .probe = ttc_dkb_probe, | 160 | .probe = ttc_dkb_probe, |