clocksource/drivers/vf-pit: Encapsulate the PTLCVAL macro
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 4 Aug 2025 15:23:29 +0000 (17:23 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 23 Sep 2025 10:29:29 +0000 (12:29 +0200)
commitd8629b9b2c17a458ca504b10b604b8cfe95df3ab
treeae0e22369ecde1954b648963381dd996024b1eeb
parent1ba63930e72356315e1a664952f52ee340edbbd3
clocksource/drivers/vf-pit: Encapsulate the PTLCVAL macro

Pass the channel and the base address to the PITLCVAL macro so it is
possible to use multiple instances of the timer with the macro.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20250804152344.1109310-12-daniel.lezcano@linaro.org
drivers/clocksource/timer-vf-pit.c