diff options
author | Liang He <[email protected]> | 2022-07-16 14:54:12 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-09-05 17:30:29 +1000 |
commit | d36337ce950ce8c57a8e4f61593f923cceaf0dd7 (patch) | |
tree | 8723edc73e651730a820a8acb4969638b40362e3 /arch/powerpc/platforms/powermac/low_i2c.c | |
parent | ce63c44b63cdae892107717ba10fdb6fb4fc6cdb (diff) |
powerpc/powermac/feature: Add missing of_node_put()
In probe_one_macio(), call of_node_put() for the refernece 'node'
escaped out of the for_each_node_by_name() which has increased its
refcount. While the 'node' will finally escaped into a global reference,
we should still call of_node_put() in fail path which will stop global
reference creation.
Signed-off-by: Liang He <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/platforms/powermac/low_i2c.c')
0 files changed, 0 insertions, 0 deletions