-
由 Andrew Lunn 提交于
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: NAndrew Lunn <andrew@lunn.ch> Tested-by: NGregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: NKishon Vijay Abraham I <kishon@ti.com> Signed-off-by: NJason Cooper <jason@lakedaemon.net>
788a4d56