summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-xilinx.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-09-24 15:30:24 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-09-24 15:30:24 +0400
commit58a3b92d33d289e2f3390b40a2c5cfd7f32cfe7a (patch)
treefc3134dc67e785162531c19ed4f2af319a836ad8 /drivers/gpio/gpio-xilinx.c
parent513d3c0f40c8e22fac019d5b0694374d17fbe682 (diff)
downloadlinux-58a3b92d33d289e2f3390b40a2c5cfd7f32cfe7a.tar.xz
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: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xilinx.c')
0 files changed, 0 insertions, 0 deletions