Daniel Matyas 64176bde46 hwmon: (max31827) Return closest value in update_interval
When user writes a value to update_interval which does not match the
possible values, instead of returning invalid error, return the closest
value.

Signed-off-by: Daniel Matyas <daniel.matyas@analog.com>
Link: https://lore.kernel.org/r/20231031182158.124608-4-daniel.matyas@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-12-11 06:42:54 -08:00
..
2023-12-11 06:21:01 -08:00
2023-04-27 11:53:57 -07:00
2023-10-28 09:21:59 -07:00
2022-02-27 17:03:19 -08:00
2019-11-06 14:37:19 -08:00
2023-10-29 22:22:20 -07:00
2023-12-11 06:20:28 -08:00
2023-10-31 17:44:17 -10:00