From: Guenter Roeck Date: Fri, 13 Sep 2013 17:31:38 +0000 (-0700) Subject: hwmon: (pmbus) Don't unnecessarily crash the kernel X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~18^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af78fdf4a61827bed7f0fcbba8cc9ae393a3ad82;p=pandora-kernel.git hwmon: (pmbus) Don't unnecessarily crash the kernel 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 --- Reading git-diff-tree failed