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
..
2015-05-12 18:58:17 +01:00
2014-12-14 16:10:09 -08:00
2014-02-19 13:36:15 +09:00
2014-02-19 13:36:15 +09:00
2014-02-19 13:36:15 +09:00
2014-04-07 10:48:50 +01:00
2013-02-14 17:27:17 +00:00
2014-08-16 17:17:13 -05:00
2014-08-16 17:17:13 -05:00
2014-12-14 16:10:09 -08:00
2015-05-06 17:33:12 +01:00
2015-03-11 19:16:07 +00:00
2014-07-28 17:49:20 +01:00
2014-07-02 20:49:25 +01:00
2013-05-25 10:33:30 -04:00
2014-12-14 16:10:09 -08:00
2015-04-08 19:25:40 +01:00
2015-04-08 19:25:40 +01:00
2015-04-08 19:25:40 +01:00
2015-06-22 10:24:19 +01:00
2013-08-13 11:31:56 +01:00