]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: pmc: decrement node's refcount
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Sun, 3 May 2020 12:18:09 +0000 (15:18 +0300)
committerStephen Boyd <sboyd@kernel.org>
Wed, 27 May 2020 03:22:02 +0000 (20:22 -0700)
commitaf37f10f96d7f65cd715bbc20f74eba5f97dd1b8
tree03836bc3000f514eab91b459971a5707e8c0fdd3
parent74a17ca67f57a98ec74f4977e8ebc653c301ec11
clk: at91: pmc: decrement node's refcount

of_find_matching_node() increment node's refcount. Call
of_node_put() to decrement it after it was used.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lkml.kernel.org/r/1588508289-10140-2-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/pmc.c