disp: msm: reduce complexity in _get_rc_table_index
Fix checks and lower the cyclomatic complexity for this function
by replacing non-trivial conditional logic with look-up tables.
Change-Id: I731d228d00c90d14faa02115f50c0ddfa4ac5c19
Signed-off-by:
Steve Cohen <cohens@codeaurora.org>
Loading
Please register or sign in to comment