clk: Make clk_free return void
authorSean Anderson <seanga2@gmail.com>
Sat, 15 Jan 2022 22:25:04 +0000 (17:25 -0500)
committerSean Anderson <seanga2@gmail.com>
Wed, 30 Mar 2022 17:02:55 +0000 (13:02 -0400)
commitac15e789caecec19d29ee9c5869305d3c3ddfb42
tree1f6eb51df9cbb9da87a208b5f1c46a1d2d4797af
parent3cbdd4cab951b8bd3f2e76066e6911f9780c4eb1
clk: Make clk_free return void

Most callers of this function do not check the return value, and it is
unclear what action they should take if it fails. If a function is freeing
multiple clocks, it should not stop just because the first one failed.
Since the callbacks can no longer fail, just convert the return type to
void.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20220115222504.617013-8-seanga2@gmail.com
drivers/clk/clk-uclass.c
drivers/clk/clk_sandbox_test.c
include/clk.h