hwmon: (amc6821) Fix permissions for temp2_input
commit5cc80fb26bb491e88f6aa8761ba0371693f73bd8
authorAxel Lin <axel.lin@ingics.com>
Tue, 1 Jul 2014 23:44:44 +0000 (2 07:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2014 22:39:50 +0000 (17 15:39 -0700)
treea9d76fabde3ff962714a03d3998bbe201dede978
parentf54e04114e99817aae34261901fa5b54e6e2c336
hwmon: (amc6821) Fix permissions for temp2_input

commit df86754b746e9a0ff6f863f690b1c01d408e3cdc upstream.

temp2_input should not be writable, fix it.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/amc6821.c