ASoC: wm8990: Don't use range container for TLV with one entry
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 2 Aug 2015 15:20:04 +0000 (17:20 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 5 Aug 2015 12:24:17 +0000 (13:24 +0100)
commitdfd0edda1fb3cd7a7cdde56467d718b1e49e32d5
tree4aa1d142ce89d1b782fc4ecdd2e1714dda7424b5
parentfcbb71e9ccac59940b619bdd5a51c96495dd4731
ASoC: wm8990: Don't use range container for TLV with one entry

For TLVs with only a single entry it is not necessary to use a range
container. Use DECLARE_TLV_DB_SCALE() directly instead of a combination of
TLV_DB_RANGE_HEAD() and TLV_DB_SCALE_ITEM().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8990.c