]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4874fc9591a11df374004b561016e7774b412917
tree6f60964c31ba85ff853f31b83bcb8aa74d4fb3c1
parentb3b4fe171595da59bacbede487d2576604d8e99d
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