diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2017-06-05 14:15:14 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:45:24 +0200 |
commit | 04c9490035691a398d851fd160ce8af08ba0af0d (patch) | |
tree | bd22e56074f1f34707539b06d359e7f25a038ccc /include/linux/libfdt.h | |
parent | 2fd95d6565f305bc5c1f0bf9922cbff350117f04 (diff) | |
download | linux-04c9490035691a398d851fd160ce8af08ba0af0d.tar.gz linux-04c9490035691a398d851fd160ce8af08ba0af0d.tar.bz2 linux-04c9490035691a398d851fd160ce8af08ba0af0d.zip |
coresight: of_get_coresight_platform_data: Add missing of_node_put
The of_get_coresight_platform_data iterates over the possible CPU nodes
to find a given cpu phandle. However it does not drop the reference
to the node pointer returned by the of_get_coresight_platform_data.
This patch also introduces another minor fix is to use
of_cpu_device_node_get() to replace of_get_cpu_node().
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
[Leo: minor tweaks for of_get_coresight_platform_data]
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/libfdt.h')
0 files changed, 0 insertions, 0 deletions