summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-02-22 17:17:34 +0100
committerGuenter Roeck <linux@roeck-us.net>2014-03-03 17:01:06 +0100
commita41a8927e7adfa5de607d5bd43fa8fbbef44d6f2 (patch)
tree04582a857933f67aacc261595530049f51a64634 /net
parenthwmon: (lm95245) Convert to use devm_hwmon_device_register_with_groups (diff)
downloadlinux-a41a8927e7adfa5de607d5bd43fa8fbbef44d6f2.tar.xz
linux-a41a8927e7adfa5de607d5bd43fa8fbbef44d6f2.zip
hwmon: (lm95245) Make temp2_crit_hyst read-only
The hysteresis register is shared among both temperature sensors. This means changing one also affects the other. To avoid confusion, established way to express this is to make only the first instance writable and keep all other instances as read-only. Otherwise users may be confused that changing the second writable value also affects the first, while it is more obvious that a writable value may affect a different read-only value. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions