hwmon: (w83795) temp4_type has writable permission
authorHuacai Chen <chenhc@lemote.com>
Thu, 15 Nov 2018 02:44:57 +0000 (10:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 09:07:10 +0000 (10:07 +0100)
commitd2fc85f406b7d50bcc1f18d0db57379d71867a4d
treeef3ea383630bda55143d940dfdde57502888676d
parent9453bca3441e67f70f1860a493d3989cd597aca2
hwmon: (w83795) temp4_type has writable permission

[ Upstream commit 09aaf6813cfca4c18034fda7a43e68763f34abb1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwmon/w83795.c