]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers: perf: use us_to_ktime() where appropriate
authorXichao Zhao <zhao.xichao@vivo.com>
Wed, 13 Aug 2025 08:32:57 +0000 (16:32 +0800)
committerWill Deacon <will@kernel.org>
Thu, 18 Sep 2025 12:48:20 +0000 (13:48 +0100)
commit1e558fb31bec3076500219cc417f477fe10a8463
treeeb0e5c96be4949a653d083fddb7516494f454710
parent2c599c68c43e65fa333b222effbeab61cbd35df5
drivers: perf: use us_to_ktime() where appropriate

The arm_ccn_pmu_poll_period_us are more suitable for using
the us_to_ktime(). This can make the code more concise and
enhance readability.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-ccn.c