]> Git Repo - linux.git/commit
clk: fixed-factor: fix of_node_get-put imbalance
authorRicardo Ribalda Delgado <[email protected]>
Thu, 1 Nov 2018 13:15:49 +0000 (14:15 +0100)
committerStephen Boyd <[email protected]>
Tue, 6 Nov 2018 16:27:52 +0000 (08:27 -0800)
commitf98e8a572bddbf27032114127d2fcc78fa5e6a9d
tree263993eb61a1fd90c1c6ce3829601be46b5eae15
parent651022382c7f8da46cb4872a545ee1da6d097d2a
clk: fixed-factor: fix of_node_get-put imbalance

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 <[email protected]>
Fixes: 971451b3b15d ("clk: fixed-factor: Convert into a module platform driver")
Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/clk-fixed-factor.c
This page took 0.052773 seconds and 4 git commands to generate.