diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-06-16 18:13:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-21 22:04:24 +0200 |
commit | f4333203ec933f9272c90c7add01774ec2cf94d3 (patch) | |
tree | 4a7f0bd37c7a5d00105dd91980fca721e181bee4 /sound/soc/codecs/tlv320dac33.c | |
parent | ASoC: Move name_prefix from CODEC to component (diff) | |
download | linux-f4333203ec933f9272c90c7add01774ec2cf94d3.tar.xz linux-f4333203ec933f9272c90c7add01774ec2cf94d3.zip |
ASoC: Move name and id from CODEC/platform to component
The component struct already has a name and id field which are initialized to
the same values as the same fields in the CODEC and platform structs. So remove
them from the CODEC and platform structs and used the ones from the component
struct instead.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/tlv320dac33.c')
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index df3a7506c023..ff006cc95520 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c @@ -1404,7 +1404,7 @@ static int dac33_soc_probe(struct snd_soc_codec *codec) if (dac33->irq >= 0) { ret = request_irq(dac33->irq, dac33_interrupt_handler, IRQF_TRIGGER_RISING, - codec->name, codec); + codec->component.name, codec); if (ret < 0) { dev_err(codec->dev, "Could not request IRQ%d (%d)\n", dac33->irq, ret); |