]> Gentwo Git Trees - linux/.git/commit
xtensa: use HZ_PER_MHZ in platform_calibrate_ccount
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 15 Sep 2025 12:05:39 +0000 (14:05 +0200)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 15 Sep 2025 15:37:28 +0000 (08:37 -0700)
commit4c8bad3ed035ab85ad9b0d247154be43a53ef84d
tree75133204c76b0f38037c907924a91b32c7832c88
parent5d5f08fd0cd970184376bee07d59f635c8403f63
xtensa: use HZ_PER_MHZ in platform_calibrate_ccount

Replace the hardcoded 1000000UL with the HZ_PER_MHZ unit macro, and add
a space in "10 MHz" to improve the readability of the error message.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Message-Id: <20250915120540.2150841-3-thorsten.blum@linux.dev>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/platform.c