hwmon: (gl518sm) Report error on invalid fan div value
authorJean Delvare <khali@linux-fr.org>
Mon, 22 Oct 2007 15:47:58 +0000 (17:47 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 8 Feb 2008 01:39:41 +0000 (20:39 -0500)
commit21df67b191fd612fa28aedd39ec1414d8effc454
tree92a73a43ac9361cf30b7d71f228edaaefa666415
parentda6848da293b88e5ac46f5ecc6ae41122d5f680b
hwmon: (gl518sm) Report error on invalid fan div value

If the user attempts to write a fan clock divider not supported by
the chip, an error should be returned.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/gl518sm.c