From: Stefan Wahren Date: Mon, 31 Oct 2016 14:39:29 +0000 (+0000) Subject: staging: vchiq_arm: add missing of_node_put X-Git-Tag: Ubuntu-4.10.0-7.9~965^2~340 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d10543ec14154c492bbc530575990fa00c6c7fd5;p=mirror_ubuntu-zesty-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c index 20bdc7d89255..3bc14904e62a 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c @@ -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;