Skip to content
Commit 28d0c14b authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 175ca83c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment