mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_phandle
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: [email protected] Cc: Mathieu Poirier <[email protected]> Signed-off-by: Peter Chen <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
2a18d7267a
commit
7f73b0b9fa
1 changed files with 1 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ struct coresight_platform_data *of_get_coresight_platform_data(
|
|||
break;
|
||||
}
|
||||
}
|
||||
of_node_put(dn);
|
||||
|
||||
return pdata;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue