mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
ASoC: txx9: 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
89032b176b
commit
1cfc291a30
3 changed files with 0 additions and 3 deletions
|
@ -224,7 +224,6 @@ static struct platform_driver txx9aclc_ac97_driver = {
|
||||||
.remove = txx9aclc_ac97_dev_remove,
|
.remove = txx9aclc_ac97_dev_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "txx9aclc-ac97",
|
.name = "txx9aclc-ac97",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@ static struct platform_driver txx9aclc_generic_driver = {
|
||||||
.remove = __exit_p(txx9aclc_generic_remove),
|
.remove = __exit_p(txx9aclc_generic_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "txx9aclc-generic",
|
.name = "txx9aclc-generic",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -429,7 +429,6 @@ static int txx9aclc_soc_platform_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver txx9aclc_pcm_driver = {
|
static struct platform_driver txx9aclc_pcm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "txx9aclc-pcm-audio",
|
.name = "txx9aclc-pcm-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = txx9aclc_soc_platform_probe,
|
.probe = txx9aclc_soc_platform_probe,
|
||||||
|
|
Loading…
Reference in a new issue