summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:02 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:02 +0200
commitab31135e6ed873011b40e6f547831757a275d15b (patch)
tree214f86d123ecd6b09bc9dc864a4216797332fada /sound/soc
parentALSA: sh: drop owner assignment from platform_drivers (diff)
downloadlinux-ab31135e6ed873011b40e6f547831757a275d15b.tar.xz
linux-ab31135e6ed873011b40e6f547831757a275d15b.zip
ASoC: : 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/soc')
-rw-r--r--sound/soc/soc-core.c1
-rw-r--r--sound/soc/soc-utils.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 4c8f8a23a0e9..0a476b650708 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1941,7 +1941,6 @@ EXPORT_SYMBOL_GPL(snd_soc_pm_ops);
static struct platform_driver soc_driver = {
.driver = {
.name = "soc-audio",
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
},
.probe = soc_probe,
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 7f22ca35a413..362c69ac1d6c 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -154,7 +154,6 @@ static int snd_soc_dummy_remove(struct platform_device *pdev)
static struct platform_driver soc_dummy_driver = {
.driver = {
.name = "snd-soc-dummy",
- .owner = THIS_MODULE,
},
.probe = snd_soc_dummy_probe,
.remove = snd_soc_dummy_remove,