From: Guenter Roeck Date: Fri, 13 Sep 2013 17:51:35 +0000 (-0700) Subject: hwmon: (acpi_power_meter) Don't crash the kernel unnecessarily X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~18^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83c97fe13e026a7795a07bfca76fe5d4b5cc5157;p=pandora-kernel.git hwmon: (acpi_power_meter) Don't crash the kernel unnecessarily acpi_power_meter crashes the kernel if it detects an unexpected event or 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(). Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed