[PATCH v5 7/8] iio: adc: at91_adc: use HZ_PER_KHZ instead of raw 1000
Joshua Crofts
crofts at kernel.org
Mon Nov 23 00:04:02 PST 2026
On 23-Nov-26 8:01, Abdelnasser Hussein wrote:
> Use the HZ_PER_KHZ constant from <linux/units.h> when converting the ADC
> clock rate to kilohertz instead of open-coding the divisor.
>
> Signed-off-by: Abdelnasser Hussein <abdelnasserhussein11 at gmail.com>
> ---
Reviewed-by: Joshua Crofts <crofts at kernel.org>
--
Kind regards,
Joshua Crofts
More information about the linux-arm-kernel
mailing list