xen/arm: Make use of DT_MATCH_TIMER in make_timer_node
authorMichal Orzel <michal.orzel@arm.com>
Thu, 14 Apr 2022 09:58:43 +0000 (11:58 +0200)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Wed, 20 Apr 2022 00:34:33 +0000 (17:34 -0700)
commit7e2a2defeb4f82efaf316396165de353130f6a4b
tree0fae24d2ff5fd6f8b7b8d4cab666e97d6024c4f7
parent2ce9afd68e0bacc15b5570a983fa626cc4de9dbd
xen/arm: Make use of DT_MATCH_TIMER in make_timer_node

DT_MATCH_TIMER stores the compatible timer ids and as such should be
used in all the places where we need to refer to them. make_timer_node
explicitly lists the same ids as the ones defined in DT_MATCH_TIMER so
make use of this macro instead.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/domain_build.c