hwmon: (pmbus) Don't unnecessarily crash the kernel
authorGuenter Roeck <linux@roeck-us.net>
Fri, 13 Sep 2013 17:31:38 +0000 (10:31 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:26 +0000 (16:16 -0700)
pmbus code currently crashes the kernel if it detects an internal
implementation error. While the detected condition suggests that there
is a bug in the code, it is hardly fatal. Therefore, it should not
trigger a crash. Replace BUG() with WARN().

Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found