diff options
author | 2014-02-04 18:33:12 +0100 | |
---|---|---|
committer | 2014-02-05 05:48:43 +0000 | |
commit | 788a4d56ff378bff0b8e685d03a962b36903a149 (patch) | |
tree | d22d5b9e750448fb0d7695bf4c9360b326668a95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers: phy: Make NULL a valid phy reference (diff) | |
download | linux-dev-788a4d56ff378bff0b8e685d03a962b36903a149.tar.xz linux-dev-788a4d56ff378bff0b8e685d03a962b36903a149.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions