clk: mediatek: Add API for clock resource recycle
In order to avoid resource leak when fail clock registration appears, so adds the common interface to handle it. Signed-off-by: Chun-Jie Chen <chun-jie.chen@mediatek.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20210914021633.26377-5-chun-jie.chen@mediatek.comSigned-off-by: Stephen Boyd <sboyd@kernel.org>
Showing
Please register or sign in to comment