Commit d10543ec authored by Stefan Wahren's avatar Stefan Wahren Committed by Greg Kroah-Hartman

staging: vchiq_arm: add missing of_node_put

After device_node usage the refcount must be decremented with
of_node_put().
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 396e9254
...@@ -2900,6 +2900,7 @@ static int vchiq_probe(struct platform_device *pdev) ...@@ -2900,6 +2900,7 @@ static int vchiq_probe(struct platform_device *pdev)
} }
fw = rpi_firmware_get(fw_node); fw = rpi_firmware_get(fw_node);
of_node_put(fw_node);
if (!fw) if (!fw)
return -EPROBE_DEFER; return -EPROBE_DEFER;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment