hwmon: (w83627hf) Fix vrm write operation
authorAxel Lin <axel.lin@ingics.com>
Wed, 6 Aug 2014 00:27:11 +0000 (08:27 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Aug 2014 02:44:42 +0000 (19:44 -0700)
commit970255b75d0b54e457091182a7ae3a188ac0c346
treeb8a1309772eca7b66a1e729c87f3082557ffc085
parent5c570b9573ecabf3ffc9af7f03daa088f2466d7b
hwmon: (w83627hf) 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/w83627hf.c