mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 12:52:40 -04:00
staging: vchiq_arm: add missing of_node_put
After device_node usage the refcount must be decremented with of_node_put(). Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
396e92544e
commit
d10543ec14
@@ -2900,6 +2900,7 @@ static int vchiq_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
fw = rpi_firmware_get(fw_node);
|
||||
of_node_put(fw_node);
|
||||
if (!fw)
|
||||
return -EPROBE_DEFER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user