diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-09-29 11:26:08 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 17:19:45 (GMT) |
commit | a1c16d71bceec404573ee4ff712f3dc0e58d31c8 (patch) | |
tree | d746f26db5b8cc959ba0912076b4afed0a39f383 /drivers/power/intel_mid_battery.c | |
parent | 5597da29496317fbcfe4db9f8b65fa8645d4cbed (diff) | |
download | linux-a1c16d71bceec404573ee4ff712f3dc0e58d31c8.tar.xz |
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>
Diffstat (limited to 'drivers/power/intel_mid_battery.c')
0 files changed, 0 insertions, 0 deletions