]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powermac/low_i2c: Add missing of_node_put() in kw_i2c_probe()
authorLiang He <windhl@126.com>
Sat, 16 Jul 2022 07:07:58 +0000 (15:07 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Sep 2022 07:30:29 +0000 (17:30 +1000)
commit78f198df6a6de0160b4e9c894a70f7c4602674e3
treedc824393f58a7f8056cef08ec7ce059e69f9e209
parentf30590be74798c3a043873a0f9c953e849a8b1e6
powerpc/powermac/low_i2c: Add missing of_node_put() in kw_i2c_probe()

Call of_node_put() for the reference 'parent' returned by
of_get_parent() which has increased the refcount.

Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220716070758.539434-1-windhl@126.com
arch/powerpc/platforms/powermac/low_i2c.c