hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_ph...
[cascardo/linux.git] / drivers / hwtracing / coresight / of_coresight.c
index 18f1c8c..629e031 100644 (file)
@@ -184,6 +184,7 @@ struct coresight_platform_data *of_get_coresight_platform_data(
                        break;
                }
        }
+       of_node_put(dn);
 
        return pdata;
 }