Re: [PATCH net-next 2/6] eth: fbnic: expose all hwmon attributes unconditionally as read-only
| Newsgroups | org.kernel.vger.linux-hwmon |
|---|---|
| Message-ID | <[email protected]> |
> All fbnic hwmon attributes are read-only and always present, so > fbnic_hwmon_is_visible() can simply return 0444 for everything > instead of matching on the sensor type and attribute. This also > prepares for the threshold and alarm attributes added in the > following patches: they are exposed unconditionally and reads > return attribute values. > > Signed-off-by: Zinc Lim <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2