diff options
author | Axel Lin <[email protected]> | 2015-07-27 09:39:43 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2015-07-29 15:11:50 +0100 |
commit | 62d6d47cb8bd5ace08a90a1cd78f6908e9f9c2d3 (patch) | |
tree | e6b1d32738a20588db6a4ea9faec9c5d316c4cca /lib/mpi/mpiutil.c | |
parent | 9acc7f08716b98730e1ead7e785fb0f3ad3a2d07 (diff) |
ASoC: max98090: Simplify max98090_readable_register implementation
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 <[email protected]>
Reviewed-by: Jarkko Nikula <[email protected]>
Tested-by: Jarkko Nikula <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions