mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00: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:
parent
396e92544e
commit
d10543ec14
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue