diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-04-08 06:06:56 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-04-18 00:48:22 +0300 |
commit | 66742b19e5e0d01297d355cc445d4920b648821b (patch) | |
tree | b5d5a311eda3680ca53893d04f09f07697a8cb00 /include/linux/hwspinlock.h | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-66742b19e5e0d01297d355cc445d4920b648821b.tar.xz |
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>
Diffstat (limited to 'include/linux/hwspinlock.h')
0 files changed, 0 insertions, 0 deletions