mfd: lm3533: Simplify function return logic
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 29 Sep 2015 11:26:08 +0000 (13:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:19:45 +0000 (17:19 +0000)
commita1c16d71bceec404573ee4ff712f3dc0e58d31c8
treed746f26db5b8cc959ba0912076b4afed0a39f383
parent5597da29496317fbcfe4db9f8b65fa8645d4cbed
mfd: lm3533: Simplify function return logic

The invoked functions already return zero on success or a negative
errno code so there is no need to open code the logic in the caller.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lm3533-core.c