mfd: AB3100 propagate error
authorLinus Walleij <linus.walleij@stericsson.com>
Thu, 13 Aug 2009 09:49:38 +0000 (11:49 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:47:17 +0000 (09:47 +0200)
commit7cdc2b98cec4c9b5bd563adf9eec90e7a7e12234
tree5a6afdfbd5fc8da7f8ddfe7ea863737bcf93ff28
parent956f25a6778a2510d52973ab8a3ac2e03e2c3704
mfd: AB3100 propagate error

This makes ab3100_set_register_interruptible() propagate the error
code from suboperations properly so it can be handles properly.
(A special case comes from signal interruption.)

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab3100-core.c