diff options
| author | Leo Yan <leo.yan@arm.com> | 2026-05-15 21:08:24 +0100 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-05-18 10:18:46 +0100 |
| commit | 0724585ace19028a6cea8534820c7092f8a7c53c (patch) | |
| tree | 1f8f75735cdbffde002e480a2d0f2c27dd3d18fe /scripts/git.orderFile | |
| parent | 3d3289c0d850b186e07351b77e89e0ee755d1f62 (diff) | |
coresight: Use helpers to fetch first and last nodes
Replace open code with coresight_path_first_node() and
coresight_path_last_node() for fetching the nodes.
Check that the node is not NULL before accessing csdev field.
Tested-by: Jie Gan <jie.gan@oss.qualcomm.com>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20260515-arm_coresight_path_power_management_improvement-v14-17-f88c4a3ecfe9@arm.com
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
