diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2020-11-11 19:24:29 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-12-17 14:18:59 +0100 |
commit | fd3ae02bb66f091e55f363d32eca7b4039977bf5 (patch) | |
tree | d39363c05138808b2f5da7c39a9a6fae34e2df9c /drivers/perf | |
parent | 97960addcd9f5a11acd6ab28ebb33d0fde8c14a3 (diff) | |
download | linux-fd3ae02bb66f091e55f363d32eca7b4039977bf5.tar.bz2 |
pwm: sti: Avoid conditional gotos
Using gotos for conditional code complicates this code significantly.
Convert the code to simple conditional blocks to increase readability.
Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions