sh-pfc: Terminate gpios array by -1
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 11 Dec 2013 03:26:22 +0000 (04:26 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Dec 2013 21:07:06 +0000 (22:07 +0100)
commit316b2550015dc8d26fb1395826533e9ef3434da9
tree4411104aadf0cee76f8509902cfb8097c3d1606d
parent8d72a7fc8dd74d41ec5f37b70797679e910007e0
sh-pfc: Terminate gpios array by -1

0 is a valid GPIO value, use -1 to terminate the gpios array in IRQ
lists.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/gpio.c
drivers/pinctrl/sh-pfc/sh_pfc.h