From: Guenter Roeck Date: Sat, 22 Feb 2014 16:17:34 +0000 (-0800) Subject: hwmon: (lm95245) Make temp2_crit_hyst read-only X-Git-Tag: v3.15-rc1~145^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a41a8927e7adfa5de607d5bd43fa8fbbef44d6f2;p=pandora-kernel.git 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 Reviewed-by: Jean Delvare --- Reading git-diff-tree failed