Messages in this thread | | | From | Heiko Stuebner <> | Subject | Re: [PATCH v2] arm: mach-rockchip: (pm) Add missing of_node_put() | Date | Fri, 17 Jun 2022 19:10:28 +0200 |
| |
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@sntech.de>
| |