Lars-Peter Clausen 54c2011f5a ASoC: max98095: 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:00 +01:00
..
2014-12-14 16:10:09 -08:00
2015-06-22 11:32:41 +02:00
2015-03-09 18:10:17 +00:00
2015-06-25 17:15:18 -07:00
2015-02-09 15:09:48 +08:00
2015-06-25 17:15:18 -07:00
2015-06-08 20:47:53 +02:00
2015-05-22 13:38:40 +01:00