diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2026-03-24 18:54:11 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-03-25 13:32:33 -0700 |
| commit | cd658475e7694d58e1c40dabc1dacf8431ccedb2 (patch) | |
| tree | 6d3a419e26aee77cdf1d011ba4ffdceafdfe38bd /include/linux | |
| parent | 805a5bd1c3f307d45ae4e9cf8915ef16d585a54a (diff) | |
hwmon: (pmbus) Introduce the concept of "write-only" attributes
Attributes intended to clear sensor history are intended to be writeable
only. Reading those attributes today results in reporting more or less
random values. To avoid ABI surprises, have those attributes explicitly
return 0 when reading.
Fixes: 787c095edaa9d ("hwmon: (pmbus/core) Add support for rated attributes")
Reviewed-by: Sanman Pradhan <psanman@juniper.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
