fsi: master-ast-cf: Fix missing of_node_put in fsi_master_acf_probe
authorLv Ruyi <lv.ruyi@zte.com.cn>
Thu, 7 Apr 2022 08:59:11 +0000 (08:59 +0000)
committerJoel Stanley <joel@jms.id.au>
Wed, 28 Sep 2022 11:40:57 +0000 (21:10 +0930)
commit182d98e00e4745fe253cb0c24c63bbac253464a2
tree1e21c14e1572b685b4a0fe2f73effc847ff60771
parentb1534a05e1f283a157231f1b334f34d07fdda511
fsi: master-ast-cf: Fix missing of_node_put in fsi_master_acf_probe

of_parse_phandle returns node pointer with refcount incremented, use
of_node_put() on it when done.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Link: https://lore.kernel.org/r/20220407085911.2491719-1-lv.ruyi@zte.com.cn
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-master-ast-cf.c