mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
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>
This commit is contained in:
parent
69292b3421
commit
1d1c1d9b55
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue