summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2022-04-27 04:01:51 +0300
committerGuenter Roeck <linux@roeck-us.net>2022-05-20 20:57:06 +0300
commitbd2e82bd4f4839f70c00a480e0133dc9650d7211 (patch)
tree15d30751e9f927349a525c7899ac6407ff6d3243 /scripts/generate_rust_analyzer.py
parent3c7e4935d46803f009e344546e41e777df7537b1 (diff)
downloadlinux-bd2e82bd4f4839f70c00a480e0133dc9650d7211.tar.xz
hwmon: (nct6775) Add read-only mode
When enabled, all write bits are removed from the modes of all sysfs attribute files. This provides a bit of infrastructure for the upcoming i2c version of this driver, which should generally avoid writes to device registers so as not to interfere with simultaneous use of the device via the LPC interface. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20220427010154.29749-5-zev@bewilderbeest.net Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions