aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2017-09-04 14:53:13 +0200
committerKishon Vijay Abraham I <[email protected]>2017-10-23 11:19:25 +0530
commit11a6e41c0ee503ffcb971d260bd07dc99b77f13a (patch)
tree1ab129285ed571d6c75592a454365a1629cb9e92 /tools/perf/scripts/python/bin/stackcollapse-record
parent5954a10e8e12ddffd54bfb6b3365aec2c31aa615 (diff)
phy: Return NULL if the phy is optional
If we're trying to get a handle to an optional phy, then the phy framework being disabled shouldn't return an hard error. Instead, return NULL just like phy_optional_get does when there's no phy provided in the DT. Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions