hwmon: (amc6821) Fix permissions for temp2_input
authorAxel Lin <axel.lin@ingics.com>
Tue, 1 Jul 2014 23:44:44 +0000 (07:44 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 3 Jul 2014 16:45:00 +0000 (09:45 -0700)
commitdf86754b746e9a0ff6f863f690b1c01d408e3cdc
treee4c1c3d36f9209b8a74a71a41cf9ce6d43bf92e0
parent93a88ef305ae928d9b1548d6c96734ae87843d02
hwmon: (amc6821) Fix permissions for temp2_input

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>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/amc6821.c