Merge tag 'hwmon-for-linus-v4.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / drivers / hwspinlock / qcom_hwspinlock.c
index c752447..fa6880b 100644 (file)
@@ -98,6 +98,7 @@ static int qcom_hwspinlock_probe(struct platform_device *pdev)
        }
 
        regmap = syscon_node_to_regmap(syscon);
+       of_node_put(syscon);
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);