Skip to content
Commit 6ff8ec98 authored by Guenter Roeck's avatar Guenter Roeck Committed by Stephen Boyd
Browse files

clk: qcom: Do not drop device node twice



of_find_node_by_name() drops the reference to a passed device node.
It is not necessary to drop it again, and doing so may result in the
device node being released prematurely.

Cc: Rob Herring <robh@kernel.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Fixes: ee15faff ("clk: qcom: common: Add API to register board clocks backwards compatibly")
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 1006cccc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment