diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2018-11-01 14:15:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 16:10:48 +0100 |
commit | 35b3e230a2b5dc9068a8779f1b77754b9c3edfde (patch) | |
tree | fab3d2562f7f89b2022eb88dbd3921d824a91b21 /lib | |
parent | c6b1ef1110ce90b66dbd957b706d58fd1ce4f4b4 (diff) |
clk: fixed-factor: fix of_node_get-put imbalance
[ Upstream commit f98e8a572bddbf27032114127d2fcc78fa5e6a9d ]
When the fixed factor 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.
Reported-by: Alan Tull <atull@kernel.org>
Fixes: 971451b3b15d ("clk: fixed-factor: Convert into a module platform driver")
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions