Guenter Roeck a91698135b hwmon: (w83791d) Drop unnecessary compare statements
The following build warnings are seen with -Wextra.

w83791d.c: In function store_temp_target:
w83791d.c:858:2: warning: comparison of unsigned expression < 0 is always false
w83791d.c: In function store_temp_tolerance:
w83791d.c:920:2: warning: comparison of unsigned expression < 0 is always false

For store_temp_target, accept negative numbers and clamp to >= 0.
For store_temp_tolerance, drop the unnecessary comparison.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
2012-09-23 21:08:35 -07:00
..
2012-09-18 13:20:49 -07:00
2012-03-27 20:06:02 +02:00
2012-03-18 18:26:52 -07:00
2012-03-18 18:26:35 -07:00
2012-06-25 06:46:24 -07:00
2012-01-05 08:19:35 -08:00
2012-06-25 06:46:24 -07:00
2012-09-23 21:08:33 -07:00
2012-09-23 21:08:33 -07:00
2012-06-25 06:46:24 -07:00
2012-07-21 21:48:45 -07:00