ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register

CS35L34_CHIP_ID is not a register address, it's the value read from
CS35L34_DEVID_AB/CD/E registers.

Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Axel Lin authored and Mark Brown committed 2016-10-25 20:27:50 +01:00
1 parent c1124c09e1
commit 55060feefc
1 file changed
-1
-1
View File
@@ -145,7 +145,6 @@ static bool cs35l34_volatile_register(struct device *dev, unsigned int reg)
static bool cs35l34_readable_register(struct device *dev, unsigned int reg)
{
switch (reg) {
case CS35L34_CHIP_ID:
case CS35L34_DEVID_AB:
case CS35L34_DEVID_CD:
case CS35L34_DEVID_E: