clk: qcom: Do not drop device node twice
authorGuenter Roeck <linux@roeck-us.net>
Sat, 11 Feb 2017 23:04:56 +0000 (15:04 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 16 Feb 2017 01:17:55 +0000 (17:17 -0800)
commit6ff8ec98e12f984b9d62e43f83b0a3c44e2bdc12
tree3b3ac2cca699eb8684c72ffcfa8b4f61da252d76
parent1006ccccd03c0e420bf0398a5ab944759268f387
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: Guenter Roeck <linux@roeck-us.net>
Fixes: ee15faffef11 ("clk: qcom: common: Add API to register board clocks backwards compatibly")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/common.c