]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: smc911x: Inline all functions from header file
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 15 Mar 2020 14:03:07 +0000 (15:03 +0100)
committermarex <marex@desktop.lan>
Fri, 1 May 2020 10:35:21 +0000 (12:35 +0200)
commiteb46efa381d6dedb03af77d74b896ff40f1591b8
treee575a6437c50f4a25b05c03f87db8638fbdb762f
parentf51a2f84969a1c88fb96414835a3b04883f3d8eb
net: smc911x: Inline all functions from header file

Inline all the functions from the header file, as they are not used
outside of the driver or the standalone EEPROM example.

Note that this does introduce considerable amount of duplication in
the standalone EEPROM example, however that one has to be rewritten
anyway, roughly such that the SMC911x driver would expose DM EEPROM
interface and the standalone example would use that.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/net/smc911x.c
drivers/net/smc911x.h
examples/standalone/smc911x_eeprom.c