summaryrefslogtreecommitdiffstats
path: root/drivers/soc/amlogic/meson-mx-socinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soc/amlogic/meson-mx-socinfo.c')
-rw-r--r--drivers/soc/amlogic/meson-mx-socinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/amlogic/meson-mx-socinfo.c b/drivers/soc/amlogic/meson-mx-socinfo.c
index 78f0f1aec..92125dd65 100644
--- a/drivers/soc/amlogic/meson-mx-socinfo.c
+++ b/drivers/soc/amlogic/meson-mx-socinfo.c
@@ -126,6 +126,7 @@ static int __init meson_mx_socinfo_init(void)
np = of_find_matching_node(NULL, meson_mx_socinfo_analog_top_ids);
if (np) {
analog_top_regmap = syscon_node_to_regmap(np);
+ of_node_put(np);
if (IS_ERR(analog_top_regmap))
return PTR_ERR(analog_top_regmap);