hwmon: (f75375s) Don't crash the kernel unnecessarily
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Sep 2013 07:43:12 +0000 (00:43 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:27 +0000 (16:16 -0700)
commit39b103b4d2e6f006dbd425cf71c46914bd31ce80
treecb60f01af6e34b00083d5cb1dbece7b21a1cd87f
parent674d0ed8588c11ec9f70c8427ac83a73e0d156d5
hwmon: (f75375s) Don't crash the kernel unnecessarily

The f75375s driver crashes the kernel if it detects an an internal
implementation error. While the detected conditions suggest that
there is a bug in the code, the condition is not fatal.
Replace BUG() with WARN().

Cc: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/f75375s.c