hwmon: (fschmd) Fix check on unsigned in watchdog_write()
commitc7702c31340f84cfd5e5df22293578b7ae1e9370
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 24 Oct 2009 11:28:45 +0000 (24 13:28 +0200)
committerJean Delvare <khali@linux-fr.org>
Sat, 24 Oct 2009 11:28:45 +0000 (24 13:28 +0200)
tree7816f36f6ef06fa09695aba1d5343aa23c4fa512
parent57784dfa82fe032cf64613e154f3ae8748e3fa3d
hwmon: (fschmd) Fix check on unsigned in watchdog_write()

If unsigned the watchdog_trigger() return value will not be
checked correctly.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/fschmd.c