hwmon: (amc6821) Fix permissions for temp2_input
authorAxel Lin <axel.lin@ingics.com>
Tue, 1 Jul 2014 23:44:44 +0000 (07:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2014 22:58:00 +0000 (15:58 -0700)
commitaec3d33f129ec803b3e2442315399bbf54924559
tree1dff57619610253b9b9e37e8400aa10b86f05f00
parent3e24998c8aafa967daa247489969ef4c87c3b91c
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