]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc297cf278b79f5e34e6607caa5a8883622067a52
tree99f9a552be32aeea098aa5adad5dcfdbccfed4c9
parent92a2e41c5962a9bc6796b7e7064ceabbee9c1549
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]