aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-cpu-debug.c
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2017-06-05 14:15:15 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-09 11:45:25 +0200
commitc56cdd7a5c836db7834256f09692112afee9eb3f (patch)
treecf4101a2b1aa2a44ce2f17949ecb080c71884fec /drivers/hwtracing/coresight/coresight-cpu-debug.c
parentcoresight: of_get_coresight_platform_data: Add missing of_node_put (diff)
downloadlinux-dev-c56cdd7a5c836db7834256f09692112afee9eb3f.tar.xz
linux-dev-c56cdd7a5c836db7834256f09692112afee9eb3f.zip
coresight: refactor with function of_coresight_get_cpu
This is refactor to add function of_coresight_get_cpu(), so it's used to retrieve CPU id for coresight component. Finally can use it as a common function for multiple places. Suggested-by: Mathieu Poirier <mathieu.poirier@linaro.org> 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 'drivers/hwtracing/coresight/coresight-cpu-debug.c')
0 files changed, 0 insertions, 0 deletions