ASoC: tpa6130a2: Fix compiler warning
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Tue, 28 Dec 2010 09:16:19 +0000 (11:16 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 00:53:03 +0000 (00:53 +0000)
commit559a8cd629f1b797732fd97afd58b41d8b6fb312
treeb407a1fe4a8bae7d255ab4365010f2aaaace52eb
parent399b82e4930f5f97556c7fd84ea3ef312718adee
ASoC: tpa6130a2: Fix compiler warning

sound/soc/codecs/tpa6130a2.c: In function 'tpa6130a2_add_controls':
sound/soc/codecs/tpa6130a2.c:342: warning: unused variable 'dapm'

Introduced by commit 39646871a47fd8808c08de0ce7d7ca8393af2805 ("ASoC:
tpa6130a2: Replace DAPM code with direct interface").

The DAPM code has been removed from the driver, but the
dapm struct remained.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tpa6130a2.c