diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2026-03-24 16:41:07 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-03-25 13:32:24 -0700 |
| commit | 805a5bd1c3f307d45ae4e9cf8915ef16d585a54a (patch) | |
| tree | 762f35fb1690afaf0254fb6b12373cc4b51ca392 /include/mtd/git@git.tavy.me:linux.git | |
| parent | bf08749a6abb6d1959bfdc0edc32c640df407558 (diff) | |
hwmon: (pmbus) Mark lowest/average/highest/rated attributes as read-only
Writing those attributes is not supported, so mark them as read-only.
Prior to this change, attempts to write into these attributes returned
an error.
Mark boolean fields in struct pmbus_limit_attr and in struct
pmbus_sensor_attr as bit fields to reduce configuration data size.
The data is scanned only while probing, so performance is not a concern.
Fixes: 6f183d33a02e6 ("hwmon: (pmbus) Add support for peak attributes")
Reviewed-by: Sanman Pradhan <psanman@juniper.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/mtd/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
