]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/hwmon/w83793.c
hwmon: (w83793) Fix vrm write operation
authorAxel Lin <axel.lin@ingics.com>
Wed, 6 Aug 2014 00:28:46 +0000 (08:28 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Aug 2014 02:44:42 +0000 (19:44 -0700)
commit2aeee04df8e0ea4d5b91da630687af1a1d93c941
treeee8eaca0117ea92924600fb1faf88d534646fd4b
parentfe04f24b831cf384eda9798e1af642b96ca19d29
hwmon: (w83793) 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/w83793.c