hwmon: (adc128d818) Drop write support on inX_input attributes
authorGuenter Roeck <linux@roeck-us.net>
Mon, 7 Jul 2014 14:10:10 +0000 (07:10 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 7 Jul 2014 16:48:23 +0000 (09:48 -0700)
commit7fe7381cbdadf16792e733789983690b3fa82880
tree6f60964c31ba85ff853f31b83bcb8aa74d4fb3c1
parentf6c2dd20108c35e30e2c1f3c6142d189451a626b
hwmon: (adc128d818) Drop write support on inX_input attributes

Writes into input registers doesn't make sense, even more so since
the writes actually ended up writing into the maximum limit registers.
Drop it.

Cc: stable@vger.kernel.org
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adc128d818.c