2013-06-14 09:49:16

by Emil Goode

[permalink] [raw]
Subject: [PATCH] ASoC: Fix double assignment of .owner in struct snd_soc_card

In struct snd_soc_card zylonite .owner is assigned THIS_MODULE
twice, remove one of them.

Signed-off-by: Emil Goode <[email protected]>
---
sound/soc/pxa/zylonite.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c
index ceb6566..db8aadf 100644
--- a/sound/soc/pxa/zylonite.c
+++ b/sound/soc/pxa/zylonite.c
@@ -256,7 +256,6 @@ static struct snd_soc_card zylonite = {
.resume_pre = &zylonite_resume_pre,
.dai_link = zylonite_dai,
.num_links = ARRAY_SIZE(zylonite_dai),
- .owner = THIS_MODULE,
};

static struct platform_device *zylonite_snd_ac97_device;
--
1.7.10.4


2013-06-14 10:00:49

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] ASoC: Fix double assignment of .owner in struct snd_soc_card

On Fri, Jun 14, 2013 at 11:48:56AM +0200, Emil Goode wrote:
> In struct snd_soc_card zylonite .owner is assigned THIS_MODULE
> twice, remove one of them.

Applied, thanks.


Attachments:
(No filename) (172.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments