mfd: rtsx: Simplify function return logic
authorJavier Martinez Canillas <[email protected]>
Tue, 29 Sep 2015 11:26:05 +0000 (13:26 +0200)
committerLee Jones <[email protected]>
Fri, 30 Oct 2015 17:19:44 +0000 (17:19 +0000)
commitb158b69a37651b20a0e68f89cf118461e7de4872
tree1f3a793ce241a7d19bb9444c39d9b93bae2d0e1e
parentd8498df1e40e5a232ebe1f1b33edb34887f6a037
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 <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
drivers/mfd/rts5209.c
drivers/mfd/rts5227.c
drivers/mfd/rts5229.c
drivers/mfd/rts5249.c
drivers/mfd/rtsx_pcr.c