diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-09-13 10:51:35 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-10-13 16:16:26 -0700 |
commit | 83c97fe13e026a7795a07bfca76fe5d4b5cc5157 (patch) | |
tree | 01a9de593f19b2b8770ee7f693ea291bc6d4b7cf /drivers/video | |
parent | c52ae3d2794ee2a248245a9e5a26f717e1c401f5 (diff) |
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 <linux@roeck-us.net>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions