clocksource/drivers/imx-sysctr: Drop use global variables
authorPeng Fan <peng.fan@nxp.com>
Mon, 5 Feb 2024 03:17:58 +0000 (11:17 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 18 Feb 2024 09:45:30 +0000 (10:45 +0100)
commit418062b548b138a1e6a9fde3a8ddf7fa77c44c9e
tree3e8945acb881cf2870e4c0b0e3d30c9f8c9fc589
parent8ec11bd89e15f7858359f2c4c9eed1d7de739c3c
clocksource/drivers/imx-sysctr: Drop use global variables

Clean up code to not use global variables and introduce sysctr_private
structure to prepare the support for i.MX95.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240205-imx-sysctr-v4-2-ca5a6e1552e7@nxp.com
drivers/clocksource/timer-imx-sysctr.c