sh: boards/mach-x3proto: gpio: fix error handling code
commit5a30d7bfcd33c03f1f67d3e1c317eb5d6a6bc811
authorKulikov Vasiliy <segooon@gmail.com>
Sun, 10 Oct 2010 17:28:27 +0000 (10 17:28 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Oct 2010 15:34:42 +0000 (12 00:34 +0900)
tree9d07bf81037d87311f06d2f463fa61e797e128b5
parent06c7a489a97fce99fd86611f6f32e565e686e5d8
sh: boards/mach-x3proto: gpio: fix error handling code

Checks for (irq < 0) and (ilsel < 0) didn't make sense since they were
unsigned.  Made them signed.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-x3proto/gpio.c