ASoC: Shrink code size for WM8962 register defaults table
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 8 Oct 2010 00:41:04 +0000 (17:41 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Oct 2010 10:50:39 +0000 (03:50 -0700)
commitf57f6c046ff54b7115c6cafd3e29a60342352cce
tree9377a4aae8849b347d3749ba803cafd44b8ef32e
parent9d9641ec891a53ef93a8972c7913605aeb8127c7
ASoC: Shrink code size for WM8962 register defaults table

Dramatically reduce the code size for the WM8962 register defaults table
by switching to explicitly initialise only defined registers, relying on
static defaulting to zero for the overwelming bulk of the register map.

Similar treatement for the register access table will come later and will
produce a similarly dramatic code size shrink.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8962-tables.c
sound/soc/codecs/wm8962.c
sound/soc/codecs/wm8962.h