[PATCH v2] arm: mach-rockchip: (pm) Add missing of_node_put()

Heiko Stuebner heiko at sntech.de
Fri Jun 17 10:10:28 PDT 2022


On Thu, 16 Jun 2022 10:17:13 +0800, Liang He wrote:
> In rockchip_suspend_init(), of_find_matching_node_and_match() will
> return a node pointer with refcount incremented. We should use
> of_node_put() in fail path or when it is not used anymore.

Applied, thanks!

[1/1] arm: mach-rockchip: (pm) Add missing of_node_put()
      commit f4470dbfb5ff92804650bc71d115c3f150d430f6

There was an unneeded tab in the blank line above out_put
and a completely unneeded blank line added at the end of
the function. I dropped both.

Best regards,
-- 
Heiko Stuebner <heiko at sntech.de>



More information about the Linux-rockchip mailing list