ASoC: cs42l56: Use case range at appropriate place
authorAxel Lin <axel.lin@ingics.com>
Wed, 12 Aug 2015 03:09:39 +0000 (11:09 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 14 Aug 2015 16:30:52 +0000 (17:30 +0100)
commit7f325bfc933d140337e55507821d6bb021321059
tree6bf7286c6e906e878dabe3509717b67ba8a86b0b
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: cs42l56: Use case range at appropriate place

The readable registers are in continuous range: 0x01 ~ 0x2e.
Use case range syntax makes the code shorter with better readability when
we have a large number of continuous switch cases.
No functional change with this patch.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l56.c