]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: Dispose of ksz_io_ops
authorMarek Vasut <marex@denx.de>
Tue, 25 Jun 2019 23:43:46 +0000 (01:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jun 2019 18:00:31 +0000 (11:00 -0700)
commit5b433192caeba82784854cd8697c3df5de29eb43
tree36deaa2e9089f3b2aa7d8879ec9e94c0b389c8a7
parent3007c9c4d7557a70ed497f91481df1c3ab06bb0b
net: dsa: microchip: Dispose of ksz_io_ops

Since the driver now uses regmap , get rid of ad-hoc ksz_io_ops
abstraction, which no longer has any meaning. Moreover, since regmap
has it's own locking, get rid of the register access mutex.

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>
drivers/net/dsa/microchip/ksz9477_spi.c
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/ksz_common.h
drivers/net/dsa/microchip/ksz_priv.h