[PATCH v9 13/20] coresight: Use helpers to fetch first and last nodes