From: Axel Lin Date: Tue, 3 Mar 2015 01:05:55 +0000 (+0800) Subject: phy: qcom-ufs: Catch devm_phy_create failure in ufs_qcom_phy_generic_probe X-Git-Tag: omap-for-v4.2/o2_dc~157^2~3^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d89a7f69d69409ffafad7affc1cc3085d2cd0dd8;p=pandora-kernel.git phy: qcom-ufs: Catch devm_phy_create failure in ufs_qcom_phy_generic_probe Current code does NULL test against return value of ufs_qcom_phy_generic_probe. However, in the case of devm_phy_create() failure, ufs_qcom_phy_generic_probe does not return NULL. Fix it. Signed-off-by: Axel Lin Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed