aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-09-11 16:42:00 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-13 14:37:59 +0100
commitfaf7f9e72a57481448f5047bb3c7a951e9683952 (patch)
treeb10e37a6991489c2efb06c76b155eef32a6c7cbc /rust/helpers/helpers.c
parentiio: adc: ad7124: fix sample rate for multi-channel use (diff)
downloadlinux-faf7f9e72a57481448f5047bb3c7a951e9683952.tar.gz
linux-faf7f9e72a57481448f5047bb3c7a951e9683952.zip
iio: adc: ad7124: use clamp()
Use clamp() instead of open-coding clamping. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions