commit | 5597da29496317fbcfe4db9f8b65fa8645d4cbed | [log] [tgz] |
---|---|---|
author | Javier Martinez Canillas <javier@osg.samsung.com> | Tue Sep 29 13:26:06 2015 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Fri Oct 30 17:19:45 2015 +0000 |
tree | 710be94df9a5fe2ce0824b1136307c4c43abb2b8 | |
parent | b158b69a37651b20a0e68f89cf118461e7de4872 [diff] |
mfd: da903x: Simplify function return logic The invoked function already returns 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> Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>