pwm: sti: Avoid conditional gotos
[ Upstream commit fd3ae02b ] 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> Stable-dep-of: 2d6812b4 ("pwm: sti: Reduce number of allocations and drop usage of chip_data") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading