Skip to content
Commit f75d7230 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (ltc2945) Don't crash the kernel unnecessarily



An implementation error should not crash the kernel if it is avoidable.
Replace BUG() with WARN_ONCE().

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b2e5411e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment