commit | c56cdd7a5c836db7834256f09692112afee9eb3f | [log] [tgz] |
---|---|---|
author | Leo Yan <[email protected]> | Mon Jun 05 14:15:15 2017 -0600 |
committer | Greg Kroah-Hartman <[email protected]> | Fri Jun 09 11:45:25 2017 +0200 |
tree | cf4101a2b1aa2a44ce2f17949ecb080c71884fec | |
parent | 04c9490035691a398d851fd160ce8af08ba0af0d [diff] |
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 <[email protected]> Signed-off-by: Leo Yan <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>