commit | 89c3584b242ddf727f8331068549dc1d2f154024 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Sep 11 13:20:01 2021 -0400 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Oct 07 16:08:22 2021 +0800 |
tree | f719ff20d9a899fc0cf83502ffe4208c03ebda86 | |
parent | b0126e9fc8836db563a928d01a30079db26afadb [diff] |
k210: clk: Refactor out_of_spec tests Everything here sits in a while (true) loop. However, this introduces a couple of layers of indentation. We can simplify the code by introducing a single goto instead of using continue/break. This will also make adding loops in the next patch easier. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>