Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 50bc7bc7 authored by Ameya Palande's avatar Ameya Palande Committed by Greg Kroah-Hartman
Browse files

mfd: kempld-core: Fix callback return value check


commit c8648508 upstream.

On success, callback function returns 0. So invert the if condition
check so that we can break out of loop.

Signed-off-by: default avatarAmeya Palande <2ameya@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e8f86a9b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment