hwmon: (acpi_power_meter) Don't crash the kernel unnecessarily
authorGuenter Roeck <linux@roeck-us.net>
Fri, 13 Sep 2013 17:51:35 +0000 (10:51 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:26 +0000 (16:16 -0700)
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 <linux@roeck-us.net>

No differences found