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

Commit 1d1c1d9b authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds
Browse files

gpio: mcp23s08 debug fix



The return value of mcp23s08_read_regs() can only be evaluated when signed

Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 69292b34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);