Update clk_composite_set_parent() to use -ENOSYS, which is the correct error code for U-Boot. Also rearrange the code so that the error condition is clearly indicated and the function runs to the end in the normal case, since this is the common style in U-Boot.
Signed-off-by: Simon Glass <s...@chromium.org> Reviewed-by: Sean Anderson <sean...@gmail.com> --- (no changes since v1) drivers/clk/clk-composite.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Applied to u-boot-dm, thanks!