aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:22:04 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:22:04 -0400
commit68db31fc045041a56c9bdbe2e2365eb255b8ec91 (patch)
treef5541df6ebbb3d4a6b9595ba00196c1c2450301b /sound/soc
parentc9845a84be87e04e0d360c1e4bc48a0e953b1eb2 (diff)
ASoC: au1x: 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/au1x/ac97c.c1
-rw-r--r--sound/soc/au1x/db1000.c1
-rw-r--r--sound/soc/au1x/db1200.c1
-rw-r--r--sound/soc/au1x/dbdma2.c1
-rw-r--r--sound/soc/au1x/dma.c1
-rw-r--r--sound/soc/au1x/i2sc.c1
-rw-r--r--sound/soc/au1x/psc-ac97.c1
-rw-r--r--sound/soc/au1x/psc-i2s.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/au1x/ac97c.c b/sound/soc/au1x/ac97c.c
index c8a2de103c5f..e989f1a7a768 100644
--- a/sound/soc/au1x/ac97c.c
+++ b/sound/soc/au1x/ac97c.c
@@ -334,7 +334,6 @@ static const struct dev_pm_ops au1xpscac97_pmops = {
334static struct platform_driver au1xac97c_driver = { 334static struct platform_driver au1xac97c_driver = {
335 .driver = { 335 .driver = {
336 .name = "alchemy-ac97c", 336 .name = "alchemy-ac97c",
337 .owner = THIS_MODULE,
338 .pm = AU1XPSCAC97_PMOPS, 337 .pm = AU1XPSCAC97_PMOPS,
339 }, 338 },
340 .probe = au1xac97c_drvprobe, 339 .probe = au1xac97c_drvprobe,
diff --git a/sound/soc/au1x/db1000.c b/sound/soc/au1x/db1000.c
index 376d976bcc2d..452f404abfd2 100644
--- a/sound/soc/au1x/db1000.c
+++ b/sound/soc/au1x/db1000.c
@@ -51,7 +51,6 @@ static int db1000_audio_remove(struct platform_device *pdev)
51static struct platform_driver db1000_audio_driver = { 51static struct platform_driver db1000_audio_driver = {
52 .driver = { 52 .driver = {
53 .name = "db1000-audio", 53 .name = "db1000-audio",
54 .owner = THIS_MODULE,
55 .pm = &snd_soc_pm_ops, 54 .pm = &snd_soc_pm_ops,
56 }, 55 },
57 .probe = db1000_audio_probe, 56 .probe = db1000_audio_probe,
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c
index decba87a074c..a747ac0b399f 100644
--- a/sound/soc/au1x/db1200.c
+++ b/sound/soc/au1x/db1200.c
@@ -200,7 +200,6 @@ static int db1200_audio_remove(struct platform_device *pdev)
200static struct platform_driver db1200_audio_driver = { 200static struct platform_driver db1200_audio_driver = {
201 .driver = { 201 .driver = {
202 .name = "db1200-ac97", 202 .name = "db1200-ac97",
203 .owner = THIS_MODULE,
204 .pm = &snd_soc_pm_ops, 203 .pm = &snd_soc_pm_ops,
205 }, 204 },
206 .id_table = db1200_pids, 205 .id_table = db1200_pids,
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c
index 17a24d804734..b06b8d8128c6 100644
--- a/sound/soc/au1x/dbdma2.c
+++ b/sound/soc/au1x/dbdma2.c
@@ -363,7 +363,6 @@ static int au1xpsc_pcm_drvremove(struct platform_device *pdev)
363static struct platform_driver au1xpsc_pcm_driver = { 363static struct platform_driver au1xpsc_pcm_driver = {
364 .driver = { 364 .driver = {
365 .name = "au1xpsc-pcm", 365 .name = "au1xpsc-pcm",
366 .owner = THIS_MODULE,
367 }, 366 },
368 .probe = au1xpsc_pcm_drvprobe, 367 .probe = au1xpsc_pcm_drvprobe,
369 .remove = au1xpsc_pcm_drvremove, 368 .remove = au1xpsc_pcm_drvremove,
diff --git a/sound/soc/au1x/dma.c b/sound/soc/au1x/dma.c
index e920b60bf6c2..6ffaaff469c7 100644
--- a/sound/soc/au1x/dma.c
+++ b/sound/soc/au1x/dma.c
@@ -331,7 +331,6 @@ static int alchemy_pcm_drvremove(struct platform_device *pdev)
331static struct platform_driver alchemy_pcmdma_driver = { 331static struct platform_driver alchemy_pcmdma_driver = {
332 .driver = { 332 .driver = {
333 .name = "alchemy-pcm-dma", 333 .name = "alchemy-pcm-dma",
334 .owner = THIS_MODULE,
335 }, 334 },
336 .probe = alchemy_pcm_drvprobe, 335 .probe = alchemy_pcm_drvprobe,
337 .remove = alchemy_pcm_drvremove, 336 .remove = alchemy_pcm_drvremove,
diff --git a/sound/soc/au1x/i2sc.c b/sound/soc/au1x/i2sc.c
index b3f37f6edbcb..450c842c776c 100644
--- a/sound/soc/au1x/i2sc.c
+++ b/sound/soc/au1x/i2sc.c
@@ -310,7 +310,6 @@ static const struct dev_pm_ops au1xi2sc_pmops = {
310static struct platform_driver au1xi2s_driver = { 310static struct platform_driver au1xi2s_driver = {
311 .driver = { 311 .driver = {
312 .name = "alchemy-i2sc", 312 .name = "alchemy-i2sc",
313 .owner = THIS_MODULE,
314 .pm = AU1XI2SC_PMOPS, 313 .pm = AU1XI2SC_PMOPS,
315 }, 314 },
316 .probe = au1xi2s_drvprobe, 315 .probe = au1xi2s_drvprobe,
diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c
index 84f31e1f9d24..f3bd1b80e3a1 100644
--- a/sound/soc/au1x/psc-ac97.c
+++ b/sound/soc/au1x/psc-ac97.c
@@ -490,7 +490,6 @@ static struct dev_pm_ops au1xpscac97_pmops = {
490static struct platform_driver au1xpsc_ac97_driver = { 490static struct platform_driver au1xpsc_ac97_driver = {
491 .driver = { 491 .driver = {
492 .name = "au1xpsc_ac97", 492 .name = "au1xpsc_ac97",
493 .owner = THIS_MODULE,
494 .pm = AU1XPSCAC97_PMOPS, 493 .pm = AU1XPSCAC97_PMOPS,
495 }, 494 },
496 .probe = au1xpsc_ac97_drvprobe, 495 .probe = au1xpsc_ac97_drvprobe,
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
index 814beffc56f2..e742ef668496 100644
--- a/sound/soc/au1x/psc-i2s.c
+++ b/sound/soc/au1x/psc-i2s.c
@@ -419,7 +419,6 @@ static struct dev_pm_ops au1xpsci2s_pmops = {
419static struct platform_driver au1xpsc_i2s_driver = { 419static struct platform_driver au1xpsc_i2s_driver = {
420 .driver = { 420 .driver = {
421 .name = "au1xpsc_i2s", 421 .name = "au1xpsc_i2s",
422 .owner = THIS_MODULE,
423 .pm = AU1XPSCI2S_PMOPS, 422 .pm = AU1XPSCI2S_PMOPS,
424 }, 423 },
425 .probe = au1xpsc_i2s_drvprobe, 424 .probe = au1xpsc_i2s_drvprobe,