mfd: Fix error handling if BUG() isn't enabled in WM8994
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Jun 2011 11:19:41 +0000 (12:19 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 31 Jul 2011 21:28:21 +0000 (23:28 +0200)
commitf85dbda076a11c18b396f8acfff929e53159e56d
tree7ffae62f37c1a2a159a56d2251bd097b1f0ac3bd
parent98ae1ccaf62d5006884e01159bf7a63174b0fc03
mfd: Fix error handling if BUG() isn't enabled in WM8994

Even if we would've BUG()ed we should still tidy up after ourselves if that
isn't enabled in the kernel config.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8994-core.c