ASoC: max98090: Simplify max98090_readable_register implementation
authorAxel Lin <axel.lin@ingics.com>
Mon, 27 Jul 2015 01:39:43 +0000 (09:39 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jul 2015 14:11:50 +0000 (15:11 +0100)
The readable registers are in consecutive ranges:
0x01 ~ 0x03, 0x0D ~ 0xD1, 0xFF
So simplify the implementation by specifying a range of consecutive values
in a single case label.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found