OSDN Git Service

net: dsa: microchip: Inline ksz_spi.h
authorMarek Vasut <marex@denx.de>
Tue, 25 Jun 2019 23:43:41 +0000 (01:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jun 2019 18:00:31 +0000 (11:00 -0700)
commit860cbe92ff2168eff1b0a28ff61c3573900ac9d0
tree99f9a552be32aeea098aa5adad5dcfdbccfed4c9
parent78e4e32fe3cae4c55c8d6bbe2599098a1f43f2cb
net: dsa: microchip: Inline ksz_spi.h

The functions in the header file are static, and the header file is
included from single C file, just inline the code into the C file.
The bonus is that it's easier to spot further content to clean up.

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>
drivers/net/dsa/microchip/ksz9477_spi.c
drivers/net/dsa/microchip/ksz_spi.h [deleted file]