hwmon: (w83791d) Fix vrm write operation
commitfe04f24b831cf384eda9798e1af642b96ca19d29
authorAxel Lin <axel.lin@ingics.com>
Wed, 6 Aug 2014 00:28:02 +0000 (6 08:28 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Aug 2014 02:44:42 +0000 (5 19:44 -0700)
treec17cc9942e42391da0cc6842878b321a439af691
parent970255b75d0b54e457091182a7ae3a188ac0c346
hwmon: (w83791d) Fix vrm write operation

vrm is an u8, so the written value needs to be limited to [0, 255].

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83791d.c