diff options
| author | Marek Vasut <[email protected]> | 2019-06-26 01:43:43 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-27 11:00:31 -0700 |
| commit | 5ce9676e8b42fbe8030972e5631990545b34e2f3 (patch) | |
| tree | f877640d9d5f9d021166d21cdd4dc0859b97558c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | bafea01f65877adc2778a3a58d3268a42a329eec (diff) | |
net: dsa: microchip: Use PORT_CTRL_ADDR() instead of indirect function call
The indirect function call to dev->dev_ops->get_port_addr() is expensive
especially if called for every single register access, and only returns
the value of PORT_CTRL_ADDR() macro. Use PORT_CTRL_ADDR() macro directly
instead.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Tristram Ha <[email protected]>
Cc: Woojung Huh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions