From: Wei Yongjun Date: Mon, 27 May 2013 03:38:41 +0000 (+0800) Subject: pci: mvebu: fix return value check in mvebu_pcie_probe() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~71^2~51^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9939c92efdd4ced672b94994959ca71b141cb8;p=pandora-kernel.git pci: mvebu: fix return value check in mvebu_pcie_probe() In case of error, function of_clk_get_by_name() returns ERR_PTR() never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Acked-by: Thomas Petazzoni Signed-off-by: Jason Cooper --- Reading git-diff-tree failed