staging: ccree: remove BUG macro usage

Replace BUG() macro usage that crash the kernel with alternatives
that signal error and/or try to recover.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gilad Ben-Yossef 2017-09-07 12:00:16 +03:00 • committed by Greg Kroah-Hartman
commit 9ba7bdc9d9
4 changed files with 24 additions and 20 deletions