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:
Stefan Wahren 2016-10-31 14:39:29 +00:00 committed by Greg Kroah-Hartman
parent 396e92544e
commit d10543ec14

View file

@ -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;