From: Wei Yongjun Date: Wed, 14 Jan 2015 01:10:00 +0000 (+0800) Subject: phy: fix return value check in armada375_usb_phy_probe() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~86^2~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147fd9d6bbb6b4bf1c320089494c0cb1bf1636a2;p=pandora-kernel.git phy: fix return value check in armada375_usb_phy_probe() In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed