diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:02 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:02 -0400 |
commit | ab31135e6ed873011b40e6f547831757a275d15b (patch) | |
tree | 214f86d123ecd6b09bc9dc864a4216797332fada /sound/soc | |
parent | 9717b20ee4b9aeea748f0624f0895490510c2553 (diff) |
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.c | 1 | ||||
-rw-r--r-- | sound/soc/soc-utils.c | 1 |
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); | |||
1941 | static struct platform_driver soc_driver = { | 1941 | static struct platform_driver soc_driver = { |
1942 | .driver = { | 1942 | .driver = { |
1943 | .name = "soc-audio", | 1943 | .name = "soc-audio", |
1944 | .owner = THIS_MODULE, | ||
1945 | .pm = &snd_soc_pm_ops, | 1944 | .pm = &snd_soc_pm_ops, |
1946 | }, | 1945 | }, |
1947 | .probe = soc_probe, | 1946 | .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) | |||
154 | static struct platform_driver soc_dummy_driver = { | 154 | static struct platform_driver soc_dummy_driver = { |
155 | .driver = { | 155 | .driver = { |
156 | .name = "snd-soc-dummy", | 156 | .name = "snd-soc-dummy", |
157 | .owner = THIS_MODULE, | ||
158 | }, | 157 | }, |
159 | .probe = snd_soc_dummy_probe, | 158 | .probe = snd_soc_dummy_probe, |
160 | .remove = snd_soc_dummy_remove, | 159 | .remove = snd_soc_dummy_remove, |