]> git.ipfire.org Git - thirdparty/linux.git/commit
units: Add HZ_PER_GHZ
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Jan 2026 13:46:09 +0000 (14:46 +0100)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 13 Jan 2026 17:33:37 +0000 (18:33 +0100)
commit5083dba0fde5446c00ee1a82a3911c8f88a2c72e
tree1eb8426807e73d06dff86cf2bb5b96281304c47d
parente2370b8b2cf1f60747594ec6b52b7c5542523549
units: Add HZ_PER_GHZ

The is going to be a new user of the HZ_PER_GHZ definition besides
possibly existing ones. Add that one to the header.

While at it, split Hz and kHz groups of the multipliers for better
maintenance and readability.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260112134900.4142954-2-andriy.shevchenko@linux.intel.com
include/linux/units.h