hwmon: (emc1403) Make all hyst attributes except for temp1_crit_hyst read-only
authorGuenter Roeck <linux@roeck-us.net>
Mon, 12 May 2014 18:10:56 +0000 (11:10 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 21 May 2014 23:02:24 +0000 (16:02 -0700)
commit84899d394e755989a1cc080083080f7695c36467
tree0a7c3e8ea182b8c23c1b4599d55117b8a1c5eefc
parent03f49f641ab70b2ceea674e666f5b933e3bc5d27
hwmon: (emc1403) Make all hyst attributes except for temp1_crit_hyst read-only

All chips in this chip series only support a single hysteresis value. Having
multiple writable hysteresis attributes is therefore confusing, since a single
write affects all hysteresis temperatures. Make all but one (temp1_crit_hyst)
read-only.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/emc1403
drivers/hwmon/emc1403.c