From: Wei Yongjun Date: Mon, 11 Mar 2013 14:08:12 +0000 (+0800) Subject: sh-pfc: Fix return value check in sh_pfc_register_pinctrl() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~46^2^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd9d05b0fdb0a8a2bbe2451b9e520547813d0562;p=pandora-kernel.git sh-pfc: Fix return value check in sh_pfc_register_pinctrl() In case of error, the function pinctrl_register() returns NULL not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij --- Reading git-diff-tree failed