DaVinci SoC updates for v5.9
This pull requests contains some clean-ups for SoC support.
No functional changes included.
ARM: davinci: dm646x-evm: Simplify error handling in 'evm_sw_setup()'
There is no need to call 'gpio_free(evm_sw_gpio[i])' for these error
handling cases, it is already done in the error handling path at label
Simplify the code and axe a few LoC.
While at it, also explicitly return 0 in the normal path.
Signed-off-by: Christophe JAILLET <firstname.lastname@example.org>
Signed-off-by: Sekhar Nori <email@example.com>
1 file changed