Home
last modified time | relevance | path

Searched hist:"788 a4d56ff378bff0b8e685d03a962b36903a149" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/phy/
H A Dphy.hdiff 788a4d56ff378bff0b8e685d03a962b36903a149 Tue Feb 04 11:33:12 CST 2014 Andrew Lunn <andrew@lunn.ch> drivers: phy: Add support for optional phys

Add devm_phy_optional_get and phy_optional_get, which should be used
when the phy is optional. They does not return an error when the phy
does not exist, rather they returns NULL, which is considered as a valid
phy, but results in NOPs when used with the consumer API.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
/openbmc/linux/drivers/phy/
H A Dphy-core.cdiff 788a4d56ff378bff0b8e685d03a962b36903a149 Tue Feb 04 11:33:12 CST 2014 Andrew Lunn <andrew@lunn.ch> drivers: phy: Add support for optional phys

Add devm_phy_optional_get and phy_optional_get, which should be used
when the phy is optional. They does not return an error when the phy
does not exist, rather they returns NULL, which is considered as a valid
phy, but results in NOPs when used with the consumer API.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>