clk: fixed-rate: fix of_node_get-put imbalance
authorAlan Tull <atull@kernel.org>
Thu, 18 Oct 2018 19:54:11 +0000 (14:54 -0500)
committerStephen Boyd <sboyd@kernel.org>
Thu, 18 Oct 2018 20:40:15 +0000 (13:40 -0700)
commit52091c256bdcad0d01e2852a63f19cd2cce6af96
tree74127cc6d609ae96ced42ffb8b97ea93d92c1916
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
clk: fixed-rate: fix of_node_get-put imbalance

When the fixed rate clock is created by devicetree,
of_clk_add_provider is called.  Add a call to
of_clk_del_provider in the remove function to balance
it out.

Signed-off-by: Alan Tull <atull@kernel.org>
Fixes: 435779fe1336 ("clk: fixed-rate: Convert into a module platform driver")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-fixed-rate.c