diff options
author | Leo Yan <leo.yan@linaro.org> | 2017-06-05 14:15:15 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:45:25 +0200 |
commit | c56cdd7a5c836db7834256f09692112afee9eb3f (patch) | |
tree | cf4101a2b1aa2a44ce2f17949ecb080c71884fec /drivers/hwtracing/coresight/coresight-tmc.c | |
parent | 04c9490035691a398d851fd160ce8af08ba0af0d (diff) | |
download | blackbird-op-linux-c56cdd7a5c836db7834256f09692112afee9eb3f.tar.gz blackbird-op-linux-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-tmc.c')
0 files changed, 0 insertions, 0 deletions