]> 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)
commit44329d0f89dc6b109a03729e802904ec9a34d808
tree6f60964c31ba85ff853f31b83bcb8aa74d4fb3c1
parent3287a9e898566777dee0df0d7b1e031c13ca4f51
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