Home
last modified time | relevance | path

Searched hist:f83be4c3f69762e1fc736e375b04e5c22b3ddceb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/phy/
H A Dphy-core.cdiff f83be4c3f69762e1fc736e375b04e5c22b3ddceb Tue Apr 07 18:30:15 CDT 2015 Axel Lin <axel.lin@ingics.com> phy: core: Fix error checking in (devm_)phy_optional_get

Don't pass valid pointer to PTR_ERR, use PTR_ERR(phy) only when
IS_ERR(phy) is true.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>