Simon Glass 3bc11b983d clk: Return -ENOSYS when system call is not available
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 <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
2021-04-06 16:33:19 +12:00
..
2021-04-06 16:33:19 +12:00
2021-04-06 16:33:19 +12:00
2021-01-30 14:25:41 -07:00
2021-04-06 16:33:19 +12:00
2021-02-23 10:45:55 -05:00
2021-03-30 12:03:24 +02:00
2021-01-12 10:21:41 +05:30