diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-08-11 12:44:50 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-08-11 12:44:50 +0200 |
| commit | 63656e1bd899ac1f5705d041349e8e459ee645a7 (patch) | |
| tree | 8bdd5a40e4fb7f2b1e7e06ff2092a700014a117e /ina260.c | |
| parent | d43c92e2a1abc64e86c59529ec02d3eb394ccf4d (diff) | |
Change permissions and update README
Diffstat (limited to 'ina260.c')
| -rw-r--r-- | ina260.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -371,9 +371,9 @@ static const struct attribute_group registers_group = { }; // ----- Metrics ----- static struct kobj_attribute metric_power_attribute = - __ATTR(power, 0664, attr_metric_show, NULL); + __ATTR(power, 0444, attr_metric_show, NULL); static struct kobj_attribute metric_voltage_attribute = - __ATTR(voltage, 0664, attr_metric_show, NULL); + __ATTR(voltage, 0444, attr_metric_show, NULL); static struct kobj_attribute metric_current_attribute = { .attr = {.name = "current", // current is a defined macro so need to do it manually .mode = VERIFY_OCTAL_PERMISSIONS(0444) }, |
