OSDN Git Service

clocksource/drivers/timer-ti-dm: Use of_address_to_resource()
authorRob Herring <robh@kernel.org>
Sun, 19 Mar 2023 16:32:20 +0000 (11:32 -0500)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 24 Apr 2023 14:56:13 +0000 (16:56 +0200)
commit0fabf9f3a0c1ca44e01c5c4dccacfe69143413c5
tree31febade27f22cb5003f7f2a4508f32bd853dc09
parentf68a40ee4732731f149961abab27a45b6c11f413
clocksource/drivers/timer-ti-dm: Use of_address_to_resource()

Replace of_get_address() and of_translate_address() calls with single
call to of_address_to_resource().

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230319163220.226273-1-robh@kernel.org
drivers/clocksource/timer-ti-dm-systimer.c