pinctrl: coh901: Fix error checking in u300_gpio_to_irq
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Mar 2013 16:18:12 +0000 (00:18 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Apr 2013 12:31:19 +0000 (14:31 +0200)
commit28d0c14b43a04deac8afe27ab700cc7638a7f4ba
tree74b5100ea1102035f7a6b655ebb4e5bdf850e9a7
parent175ca83c0b6ab3c2af2d9e1ffff4d274910bbc10
pinctrl: coh901: Fix error checking in u300_gpio_to_irq

The pointer "port" is always not NULL if gpio->port_list is not empty.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-coh901.c