Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 58a3b92d authored by Linus Walleij's avatar Linus Walleij
Browse files

gpio: dwapb: fix pointer to integer cast



The statements BUG_ON(ctx == 0) was implicitly casting a pointer
to an integer for comparison. Do this with a bool test instead
to get away from sparse warnings.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 513d3c0f
Loading
Loading
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