linux/drivers/net/dsa/microchip
Marek Vasut 5ce9676e8b 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 <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-27 11:00:31 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ksz9477.c net: dsa: microchip: Use PORT_CTRL_ADDR() instead of indirect function call 2019-06-27 11:00:31 -07:00
ksz9477_reg.h net: dsa: microchip: rename ksz_9477_reg.h to ksz9477_reg.h 2018-11-20 20:57:12 -08:00
ksz9477_spi.c net: dsa: microchip: Inline ksz_spi.h 2019-06-27 11:00:31 -07:00
ksz_common.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-17 20:20:36 -07:00
ksz_common.h net: dsa: microchip: Move ksz_cfg and ksz_port_cfg to ksz9477.c 2019-06-27 11:00:31 -07:00
ksz_priv.h net: dsa: microchip: Remove ksz_{get,set}() 2019-06-27 11:00:31 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00