aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-raspberrypi-exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-raspberrypi-exp.c')
-rw-r--r--drivers/gpio/gpio-raspberrypi-exp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-raspberrypi-exp.c b/drivers/gpio/gpio-raspberrypi-exp.c
index d6d36d537e37..b77ea16ffa03 100644
--- a/drivers/gpio/gpio-raspberrypi-exp.c
+++ b/drivers/gpio/gpio-raspberrypi-exp.c
@@ -206,6 +206,7 @@ static int rpi_exp_gpio_probe(struct platform_device *pdev)
}
fw = rpi_firmware_get(fw_node);
+ of_node_put(fw_node);
if (!fw)
return -EPROBE_DEFER;