aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/mcp23s08.c
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2008-05-23 13:04:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-24 09:56:11 -0700
commit1d1c1d9b557a12320174058d2d313ffb0f8611f4 (patch)
treeba4d9c9c1a32ae0ccf85c6c1787a79f19856d150 /drivers/gpio/mcp23s08.c
parent69292b342193d4068f6435660368ff98713d8164 (diff)
downloadkernel_samsung_tuna-1d1c1d9b557a12320174058d2d313ffb0f8611f4.zip
kernel_samsung_tuna-1d1c1d9b557a12320174058d2d313ffb0f8611f4.tar.gz
kernel_samsung_tuna-1d1c1d9b557a12320174058d2d313ffb0f8611f4.tar.bz2
gpio: mcp23s08 debug fix
The return value of mcp23s08_read_regs() can only be evaluated when signed Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/mcp23s08.c')
-rw-r--r--drivers/gpio/mcp23s08.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/mcp23s08.c b/drivers/gpio/mcp23s08.c
index 7fb5b9d..7f92fdd 100644
--- a/drivers/gpio/mcp23s08.c
+++ b/drivers/gpio/mcp23s08.c
@@ -168,7 +168,7 @@ static void mcp23s08_dbg_show(struct seq_file *s, struct gpio_chip *chip)
{
struct mcp23s08 *mcp;
char bank;
- unsigned t;
+ int t;
unsigned mask;
mcp = container_of(chip, struct mcp23s08, chip);