From: Alexey Brodkin <alexey.brod...@synopsys.com>
Date: Wed,  9 Sep 2015 18:01:08 +0300

> Current check of phydev with IS_ERR(phydev) may make not much sense
> because of_phy_connect() returns NULL on failure instead of error value.
> 
> Still for checking result of phy_connect() IS_ERR() makes perfect sense.
> 
> So let's use combined check IS_ERR_OR_NULL() that covers both cases.
> 
> Cc: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>
> Cc: Giuseppe Cavallaro <peppe.cavall...@st.com>
> Cc: linux-kernel@vger.kernel.org
> Cc: sta...@vger.kernel.org
> Cc: David Miller <da...@davemloft.net>
> Signed-off-by: Alexey Brodkin <abrod...@synopsys.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to