From: Fabio Estevam Date: Fri, 10 May 2013 00:15:46 +0000 (-0300) Subject: ASoC: sgtl5000: Read SGTL5000_CHIP_ID in i2c_probe() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~10^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b871f1ad3c8a1ac2fb862f9261f14a67dc2c7b7d;p=pandora-kernel.git ASoC: sgtl5000: Read SGTL5000_CHIP_ID in i2c_probe() The usual place for reading chip ID is inside i2c_probe, so move it there and also convert it to regmap. sgtl5000_enable_regulators() needs to read the chip revision, so keep the revision check there. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- Reading git-diff-tree failed