Re: [PATCH v2 3/4] hwmon: (ina2xx) Replace masks with enum in alert functions
| Newsgroups | org.kernel.vger.linux-hwmon |
|---|---|
| Message-ID | <[email protected]> |
> 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 <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/20260820-upstream-ina2xx-in0-curr1-alarms-v2-0-fdce35abc41e@redhat.com?part=3