Skip to content
Commit 00efcb1c authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mike Turquette
Browse files

clk: Correct handling of NULL clk in __clk_{get, put}



Ensure clk->kref is dereferenced only when clk is not NULL.

Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 624009a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment