linux_dsm_epyc7002/sound/soc
Lars-Peter Clausen 5ee0b8f829 ASoC: uda1380: Replace TLV_DB_RANGE_HEAD with DECLARE_TLV_DB_RANGE
DECLARE_TLV_DB_RANGE() has the advantage over using TLV_DB_RANGE_HEAD()
that it automatically calculates the number of items in the TLV and is
hence less prone to manual error.

Generate using the following coccinelle script

// <smpl>
@@
declarer name DECLARE_TLV_DB_RANGE;
identifier tlv;
constant x;
@@
-unsigned int tlv[] = {
-	TLV_DB_RANGE_HEAD(x),
+DECLARE_TLV_DB_RANGE(tlv,
	...
-};
+);
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-08-05 13:23:47 +01:00
..
adi
atmel
au1x
bcm
blackfin
cirrus
codecs ASoC: uda1380: Replace TLV_DB_RANGE_HEAD with DECLARE_TLV_DB_RANGE 2015-08-05 13:23:47 +01:00
davinci
dwc
fsl
generic
intel
jz4740
kirkwood
mediatek
mxs
nuc900
omap
pxa
qcom
rockchip
samsung
sh
sirf
spear
tegra
txx9
ux500
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-cache.c
soc-compress.c
soc-core.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c
soc-topology.c
soc-utils.c