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)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Nov 2018 18:14:41 +0000 (10:14 -0800)
commit8b627f616ed63dcaf922369fc14a5daf8ad03038
tree1a4ecd5dd0d978091cb396eecfc43eff3813613a
parent46fda5b5067a391912cf73bf3d32c26b6a22ad09
clk: boston: unregister clks on failure in clk_boston_setup()

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>
drivers/clk/imgtec/clk-boston.c