]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitee394fea6f0671fc2bb7e63161129a5d73d8d6e1
tree36deaa2e9089f3b2aa7d8879ec9e94c0b389c8a7
parent46558d601cb6e245d9427d5044106a30811959fb
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