]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: st: Use HZ_PER_GHZ constant instead of plain number
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Jan 2026 13:46:14 +0000 (14:46 +0100)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 13 Jan 2026 17:34:38 +0000 (18:34 +0100)
commitb77f0370b072af3275970e0b314cc20a159ca1c1
tree8fbd4d4ccb601f23db4b9df1bf8404132c490097
parent65db3bf4f6afb9910cd55e98b547d844130c4d82
i2c: st: Use HZ_PER_GHZ constant instead of plain number

Use defined constant to avoid the possible mistakes and to provide
an additional information on the units.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
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-7-andriy.shevchenko@linux.intel.com
drivers/i2c/busses/i2c-st.c