]> git.ipfire.org Git - thirdparty/linux.git/commit
clocksource/drivers/vf-pit: Encapsulate clocksource enable / disable
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 4 Aug 2025 15:23:31 +0000 (17:23 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 23 Sep 2025 10:29:39 +0000 (12:29 +0200)
commitfcf25b4427c7d1edb91dd02753d6153fb25da094
tree7d0d0625b918957e87680a99bab68382d475afbe
parent7201c95c258936e32c950f447c59875780046848
clocksource/drivers/vf-pit: Encapsulate clocksource enable / disable

For the sake of lisibility, let's encapsulate the writel calls to
enable and disable the timer into a function with a self-explainatory
name.

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