]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: rtsx: Simplify function return logic
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 29 Sep 2015 11:26:05 +0000 (13:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:19:44 +0000 (17:19 +0000)
commit206d6c2790ba11e22208a58eb771db347ed00d03
tree1f3a793ce241a7d19bb9444c39d9b93bae2d0e1e
parent72b76f20119c02daa6059cb87b01007e063d42ea
mfd: rtsx: 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/rts5209.c
drivers/mfd/rts5227.c
drivers/mfd/rts5229.c
drivers/mfd/rts5249.c
drivers/mfd/rtsx_pcr.c