linux/drivers/net/dsa/microchip
Marek Vasut ef534195e1 net: dsa: microchip: Replace ksz9477_wait_alu_ready polling with regmap
Regmap provides polling function to poll for bits in a register. This
function is another reimplementation of polling for bit being clear in
a register. Replace this with regmap polling function. Moreover, inline
the function parameters, as the function is never called with any other
parameter values than this one.

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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-27 19:25:02 -07:00
..
Kconfig net: dsa: microchip: Initial SPI regmap support 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: Factor out regmap config generation into common header 2019-06-27 11:00:32 -07:00
ksz9477.c net: dsa: microchip: Replace ksz9477_wait_alu_ready polling with regmap 2019-06-27 19:25:02 -07:00
ksz_common.c net: dsa: microchip: Dispose of ksz_io_ops 2019-06-27 11:00:31 -07:00
ksz_common.h net: dsa: microchip: Replace ad-hoc polling with regmap 2019-06-27 19:25:02 -07:00
ksz_priv.h net: dsa: microchip: Dispose of ksz_io_ops 2019-06-27 11:00:31 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00