diff options
| author | 2023-10-31 20:21:56 +0200 | |
|---|---|---|
| committer | 2023-12-11 06:42:54 -0800 | |
| commit | 64176bde4645686590bb0e5efcbcd18497ee4389 (patch) | |
| tree | fc673781cc60b66aa0da4855559392a51040ed2e /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | hwmon: (max31827) Update bits with shutdown_write() (diff) | |
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>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
