diff options
author | Heiner Kallweit <[email protected]> | 2017-11-30 23:46:19 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-01 15:42:21 -0500 |
commit | 00fde79532d66d18cd0b21fdbd515f4b14078ccf (patch) | |
tree | ba2f3b655ba0124d0a873881b9f7e918b6280056 /tools/perf/scripts/python/intel-pt-events.py | |
parent | efbae71643fee3a3edebf9de9934f923b2e60a36 (diff) |
net: phy: core: use genphy version of callbacks read_status and config_aneg per default
read_status and config_aneg are the only mandatory callbacks and most
of the time the generic implementation is used by drivers.
So make the core fall back to the generic version if a driver doesn't
implement the respective callback.
Also currently the core doesn't seem to verify that drivers implement
the mandatory calls. If a driver doesn't do so we'd just get a NPE.
With this patch this potential issue doesn't exit any longer.
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions