hwmon: (w83795) temp4_type has writable permission
authorHuacai Chen <chenhc@lemote.com>
Thu, 15 Nov 2018 02:44:57 +0000 (10:44 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 18 Nov 2018 22:34:56 +0000 (14:34 -0800)
commit09aaf6813cfca4c18034fda7a43e68763f34abb1
treec075c41b129eead8d0a2e3d6a35a9f3002789a0b
parent243cfe3fb8978c7eec24511aba7dac98819ed896
hwmon: (w83795) temp4_type has writable permission

Both datasheet and comments of store_temp_mode() tell us that temp1~4_type
is writable, so fix it.

Signed-off-by: Yao Wang <wangyao@lemote.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Fixes: 39deb6993e7c (" hwmon: (w83795) Simplify temperature sensor type handling")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83795.c