clk: boston: unregister clks on failure in clk_boston_setup()
authorYi Wang <wang.yi59@zte.com.cn>
Wed, 31 Oct 2018 07:41:42 +0000 (15:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2019 12:05:26 +0000 (13:05 +0100)
commit9aafa29969214bb40f6624fdf9a7203a838a27b1
tree4abe93957e6f8fd9ee9a3a83a7429a7f745fecb3
parent1ba6488775f1d4866811b944ed25d5c043319a05
clk: boston: unregister clks on failure in clk_boston_setup()

[ Upstream commit 8b627f616ed63dcaf922369fc14a5daf8ad03038 ]

The registered clks should unregister when something wrong happens
before going out in function clk_boston_setup().

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imgtec/clk-boston.c