From: Linus Walleij Date: Wed, 28 May 2014 07:14:06 +0000 (+0200) Subject: gpio: mcp23s08: switch chip count to int X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~53^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=596a1c5f51e2945d036fae208b67f64a47346c68;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed