From: Tomasz Figa Date: Tue, 23 Sep 2014 19:05:37 +0000 (+0200) Subject: pinctrl: samsung: Make samsung_pinctrl_get_soc_data use ERR_PTR() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~132^2~5^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87993273feb7f9379ec79cd9c25d195c4b93b7da;p=pandora-kernel.git pinctrl: samsung: Make samsung_pinctrl_get_soc_data use ERR_PTR() Currently the function returns a valid pointer on success and NULL on error, so exact error code is lost. This patch changes return convention of the function to use ERR_PTR() on error instead. Signed-off-by: Tomasz Figa --- Reading git-diff-tree failed