]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mfd: kempld-core: Simplify function return logic
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 29 Sep 2015 11:26:04 +0000 (13:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:19:43 +0000 (17:19 +0000)
commitd8498df1e40e5a232ebe1f1b33edb34887f6a037
tree68a89edc51d8c7d01f4247309743622d8efedfe9
parente7238fd2554ebfbc2611ae5c7e58d4cd76f276dc
mfd: kempld-core: 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/kempld-core.c