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>
This commit is contained in:
parent
d34135b4c0
commit
08d30ecc67
18 changed files with 0 additions and 18 deletions
|
@ -155,7 +155,6 @@ static int brownstone_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver mmp_driver = {
|
static struct platform_driver mmp_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "brownstone-audio",
|
.name = "brownstone-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = brownstone_probe,
|
.probe = brownstone_probe,
|
||||||
|
|
|
@ -327,7 +327,6 @@ static int corgi_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver corgi_driver = {
|
static struct platform_driver corgi_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "corgi-audio",
|
.name = "corgi-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = corgi_probe,
|
.probe = corgi_probe,
|
||||||
|
|
|
@ -177,7 +177,6 @@ static int e740_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver e740_driver = {
|
static struct platform_driver e740_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "e740-audio",
|
.name = "e740-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = e740_probe,
|
.probe = e740_probe,
|
||||||
|
|
|
@ -159,7 +159,6 @@ static int e750_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver e750_driver = {
|
static struct platform_driver e750_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "e750-audio",
|
.name = "e750-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = e750_probe,
|
.probe = e750_probe,
|
||||||
|
|
|
@ -140,7 +140,6 @@ static int e800_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver e800_driver = {
|
static struct platform_driver e800_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "e800-audio",
|
.name = "e800-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = e800_probe,
|
.probe = e800_probe,
|
||||||
|
|
|
@ -226,7 +226,6 @@ static int hx4700_audio_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver hx4700_audio_driver = {
|
static struct platform_driver hx4700_audio_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "hx4700-audio",
|
.name = "hx4700-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = hx4700_audio_probe,
|
.probe = hx4700_audio_probe,
|
||||||
|
|
|
@ -90,7 +90,6 @@ static int imote2_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver imote2_driver = {
|
static struct platform_driver imote2_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "imote2-audio",
|
.name = "imote2-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = imote2_probe,
|
.probe = imote2_probe,
|
||||||
|
|
|
@ -205,7 +205,6 @@ static struct platform_driver mioa701_wm9713_driver = {
|
||||||
.remove = mioa701_wm9713_remove,
|
.remove = mioa701_wm9713_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mioa701-wm9713",
|
.name = "mioa701-wm9713",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -244,7 +244,6 @@ static int mmp_pcm_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver mmp_pcm_driver = {
|
static struct platform_driver mmp_pcm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mmp-pcm-audio",
|
.name = "mmp-pcm-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = mmp_pcm_probe,
|
.probe = mmp_pcm_probe,
|
||||||
|
|
|
@ -472,7 +472,6 @@ static int asoc_mmp_sspa_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver asoc_mmp_sspa_driver = {
|
static struct platform_driver asoc_mmp_sspa_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mmp-sspa-dai",
|
.name = "mmp-sspa-dai",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = asoc_mmp_sspa_probe,
|
.probe = asoc_mmp_sspa_probe,
|
||||||
.remove = asoc_mmp_sspa_remove,
|
.remove = asoc_mmp_sspa_remove,
|
||||||
|
|
|
@ -172,7 +172,6 @@ static struct platform_driver palm27x_wm9712_driver = {
|
||||||
.remove = palm27x_asoc_remove,
|
.remove = palm27x_asoc_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "palm27x-asoc",
|
.name = "palm27x-asoc",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -296,7 +296,6 @@ static int poodle_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver poodle_driver = {
|
static struct platform_driver poodle_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "poodle-audio",
|
.name = "poodle-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = poodle_probe,
|
.probe = poodle_probe,
|
||||||
|
|
|
@ -826,7 +826,6 @@ static int asoc_ssp_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver asoc_ssp_driver = {
|
static struct platform_driver asoc_ssp_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pxa-ssp-dai",
|
.name = "pxa-ssp-dai",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(pxa_ssp_of_ids),
|
.of_match_table = of_match_ptr(pxa_ssp_of_ids),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -261,7 +261,6 @@ static struct platform_driver pxa2xx_ac97_driver = {
|
||||||
.remove = pxa2xx_ac97_dev_remove,
|
.remove = pxa2xx_ac97_dev_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pxa2xx-ac97",
|
.name = "pxa2xx-ac97",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
#ifdef CONFIG_PM_SLEEP
|
#ifdef CONFIG_PM_SLEEP
|
||||||
.pm = &pxa2xx_ac97_pm_ops,
|
.pm = &pxa2xx_ac97_pm_ops,
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -383,7 +383,6 @@ static struct platform_driver pxa2xx_i2s_driver = {
|
||||||
|
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pxa2xx-i2s",
|
.name = "pxa2xx-i2s",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -143,7 +143,6 @@ static const struct of_device_id snd_soc_pxa_audio_match[] = {
|
||||||
static struct platform_driver pxa_pcm_driver = {
|
static struct platform_driver pxa_pcm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pxa-pcm-audio",
|
.name = "pxa-pcm-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(snd_soc_pxa_audio_match),
|
.of_match_table = of_match_ptr(snd_soc_pxa_audio_match),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -265,7 +265,6 @@ static int tosa_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver tosa_driver = {
|
static struct platform_driver tosa_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "tosa-audio",
|
.name = "tosa-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = tosa_probe,
|
.probe = tosa_probe,
|
||||||
|
|
|
@ -155,7 +155,6 @@ static int ttc_dkb_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver ttc_dkb_driver = {
|
static struct platform_driver ttc_dkb_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ttc-dkb-audio",
|
.name = "ttc-dkb-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = ttc_dkb_probe,
|
.probe = ttc_dkb_probe,
|
||||||
|
|
Loading…
Reference in a new issue