diff options
| author | Jared Kangas <jkangas@redhat.com> | 2026-08-20 06:09:23 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-09-07 07:22:19 -0700 |
| commit | e92b9208415a90e9cc1d923c5d8c058dde77be68 (patch) | |
| tree | 1ea05631227069997f0307b50ce78678247ff517 /scripts/basic | |
| parent | 3d44ab826e0244a8b9eaf0f1f604f4cb8b890325 (diff) | |
| download | linux-e92b9208415a90e9cc1d923c5d8c058dde77be68.tar.gz linux-e92b9208415a90e9cc1d923c5d8c058dde77be68.zip | |
hwmon: (ina2xx) Replace masks with enum in alert functions
Instead of passing an explicit mask to alert/limit functions like
ina226_alert_read(), introduce an enum ina2xx_alert_type that can be
converted to a mask internally. This semantically separates current from
shunt voltage in helpers that use function masks, which previously saw
the same mask for the two functions.
Signed-off-by: Jared Kangas <jkangas@redhat.com>
Link: https://patch.msgid.link/20260820-upstream-ina2xx-in0-curr1-alarms-v2-3-fdce35abc41e@redhat.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
