summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tz1090-pdc.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-05-28 09:14:06 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-28 09:16:03 +0200
commit596a1c5f51e2945d036fae208b67f64a47346c68 (patch)
tree67900181d2acba78d9e141c16fb32f68a4f8c594 /drivers/gpio/gpio-tz1090-pdc.c
parent6a2f4b7dadd5e2b3e02e28af1ddb32d17ac5b310 (diff)
downloadlinux-596a1c5f51e2945d036fae208b67f64a47346c68.tar.gz
linux-596a1c5f51e2945d036fae208b67f64a47346c68.tar.bz2
linux-596a1c5f51e2945d036fae208b67f64a47346c68.zip
gpio: mcp23s08: switch chip count to int
Commit 3e3bed913e8bbd78f38cefd5d575475f45c05dd0 "gpio: mcp23s08: fixed count variable for devicetree probing" introduced a loop check to see if the number of chips were unconsistent and going below zero counting downwards, but this requires the counting variable to be able to be negative, so switch the variable from unsigned to int. Cc: Michael Stickel <ms@mycable.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-tz1090-pdc.c')
0 files changed, 0 insertions, 0 deletions