From: Axel Lin Date: Tue, 13 Nov 2012 01:00:07 +0000 (+0800) Subject: pinctrl: imx: Fix the logic checking if not able to find pin reg map X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~94^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d1c6ef67a4530ee5dbd5038d2959a54593013b1;p=pandora-kernel.git pinctrl: imx: Fix the logic checking if not able to find pin reg map Current code sets "pin_reg = &info->pin_regs[i];" in each loop iteration, so in the case of no-match, pin_reg is not NULL. Signed-off-by: Axel Lin Acked-by: Dong Aisheng Signed-off-by: Linus Walleij --- Reading git-diff-tree failed