diff options
author | Michael Walle <[email protected]> | 2020-12-28 14:00:32 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-01-05 15:19:19 -0800 |
commit | 3c7df82a63d8c81ca30737c397ed59b034a558f2 (patch) | |
tree | 48528434f6949d4e84e744a5915a97ee4aec5187 /tools/perf/scripts/python/sched-migration.py | |
parent | 38d26b244367e84ed657ac4f5093ae9e71c8a7a2 (diff) |
enetc: don't use macro magic for the readx_poll_timeout() callback
The macro enetc_mdio_rd_reg() is just used in that particular case and
has a hardcoded parameter name "mdio_priv". Define a specific function
to use for readx_poll_timeout() instead. Also drop the TIMEOUT macro
since it is used just once.
Signed-off-by: Michael Walle <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Tested-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions