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 23:21:03 +0000 (16:21 -0700)
commit66b1027e8349619956111177d7dc7170f9543f25
tree8e91490462c442b2c757dd82564be8a1c405df2a
parentc37ea82d4c02f7d3bdce6a43f61af6baf9528377
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