ASoC: blackfin: 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
ea3bccab07
commit
3316fd2554
|
@ -462,7 +462,6 @@ static int bf5xx_soc_platform_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver bf5xx_pcm_driver = {
|
static struct platform_driver bf5xx_pcm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-ac97-pcm-audio",
|
.name = "bfin-ac97-pcm-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = bf5xx_soc_platform_probe,
|
.probe = bf5xx_soc_platform_probe,
|
||||||
|
|
|
@ -375,7 +375,6 @@ static int asoc_bfin_ac97_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver asoc_bfin_ac97_driver = {
|
static struct platform_driver asoc_bfin_ac97_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-ac97",
|
.name = "bfin-ac97",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = asoc_bfin_ac97_probe,
|
.probe = asoc_bfin_ac97_probe,
|
||||||
|
|
|
@ -104,7 +104,6 @@ static int bf5xx_ad1836_driver_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver bf5xx_ad1836_driver = {
|
static struct platform_driver bf5xx_ad1836_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-snd-ad1836",
|
.name = "bfin-snd-ad1836",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = bf5xx_ad1836_driver_probe,
|
.probe = bf5xx_ad1836_driver_probe,
|
||||||
|
|
|
@ -354,7 +354,6 @@ static int bfin_i2s_soc_platform_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver bfin_i2s_pcm_driver = {
|
static struct platform_driver bfin_i2s_pcm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-i2s-pcm-audio",
|
.name = "bfin-i2s-pcm-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = bfin_i2s_soc_platform_probe,
|
.probe = bfin_i2s_soc_platform_probe,
|
||||||
|
|
|
@ -379,7 +379,6 @@ static struct platform_driver bfin_i2s_driver = {
|
||||||
.remove = bf5xx_i2s_remove,
|
.remove = bf5xx_i2s_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-i2s",
|
.name = "bfin-i2s",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,6 @@ static struct platform_driver bfin_i2s_driver = {
|
||||||
.remove = bfin_i2s_remove,
|
.remove = bfin_i2s_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-i2s",
|
.name = "bfin-i2s",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,6 @@ static int bfin_eval_adau1373_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver bfin_eval_adau1373_driver = {
|
static struct platform_driver bfin_eval_adau1373_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-eval-adau1373",
|
.name = "bfin-eval-adau1373",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = bfin_eval_adau1373_probe,
|
.probe = bfin_eval_adau1373_probe,
|
||||||
|
|
|
@ -109,7 +109,6 @@ static int bfin_eval_adau1701_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver bfin_eval_adau1701_driver = {
|
static struct platform_driver bfin_eval_adau1701_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-eval-adau1701",
|
.name = "bfin-eval-adau1701",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = bfin_eval_adau1701_probe,
|
.probe = bfin_eval_adau1701_probe,
|
||||||
|
|
|
@ -129,7 +129,6 @@ static int bfin_eval_adau1x61_probe(struct platform_device *pdev)
|
||||||
static struct platform_driver bfin_eval_adau1x61_driver = {
|
static struct platform_driver bfin_eval_adau1x61_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-eval-adau1x61",
|
.name = "bfin-eval-adau1x61",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = bfin_eval_adau1x61_probe,
|
.probe = bfin_eval_adau1x61_probe,
|
||||||
|
|
|
@ -117,7 +117,6 @@ static int bfin_eval_adau1x81_probe(struct platform_device *pdev)
|
||||||
static struct platform_driver bfin_eval_adau1x81_driver = {
|
static struct platform_driver bfin_eval_adau1x81_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-eval-adau1x81",
|
.name = "bfin-eval-adau1x81",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = bfin_eval_adau1x81_probe,
|
.probe = bfin_eval_adau1x81_probe,
|
||||||
|
|
|
@ -141,7 +141,6 @@ MODULE_DEVICE_TABLE(platform, bfin_eval_adav80x_ids);
|
||||||
static struct platform_driver bfin_eval_adav80x_driver = {
|
static struct platform_driver bfin_eval_adav80x_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bfin-eval-adav80x",
|
.name = "bfin-eval-adav80x",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = bfin_eval_adav80x_probe,
|
.probe = bfin_eval_adav80x_probe,
|
||||||
|
|
Loading…
Reference in a new issue