]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9e86d7eb1c52c2c01127872a93b90141fe937f7
tree74b5100ea1102035f7a6b655ebb4e5bdf850e9a7
parent4fd4a0501a943acc669b6007d1a833347860f7ca
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