clk: add clk_release_all()
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 18 Jul 2017 09:57:07 +0000 (11:57 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:08 +0000 (23:34 +0200)
commit82a8a669b4f7159f1f3c3251c2fcb36965896290
tree6b52c69f258d57d59a86c76def7adeb2457bca51
parent3b9d1bdd4e5fe0c44e5d4d0a0916dbccc558749d
clk: add clk_release_all()

Add clk_release_all() method which Disable/Free an
array of clocks that has been previously requested by
clk_request/get_by_*()

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk-uclass.c
include/clk.h