commit | 66742b19e5e0d01297d355cc445d4920b648821b | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Sun Apr 08 11:06:56 2018 +0800 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Tue Apr 17 14:48:22 2018 -0700 |
tree | b5d5a311eda3680ca53893d04f09f07697a8cb00 | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 [diff] |
hwspinlock: Convert to use 'switch' statement We have different hwspinlock modes to select, thus it will be more readable to handle different modes with using 'switch' statement instead of 'if' statement. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>