ASoC: sgtl5000: read chip revision for once
authorShawn Guo <shawn.guo@linaro.org>
Fri, 13 Dec 2013 06:43:02 +0000 (14:43 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 16 Dec 2013 20:14:44 +0000 (20:14 +0000)
Store chip revision in struct sgtl5000_priv when sgtl5000_i2c_probe()
reads it out from register, so that we can use it in
sgtl5000_enable_regulators() with no need to read register again.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found