commit | 25eb4689e9371b34e34889b2110dc6c6a1a99541 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat Mar 21 17:25:41 2020 +0100 |
committer | marex <marex@desktop.lan> | Fri May 01 12:35:21 2020 +0200 |
tree | 6cd05075329534bf530500578046d90b191e5425 | |
parent | 167c0b6b8fe2754c63283276491281ec3b387201 [diff] |
net: smc911x: Pull MII registration into separate function Pull the MII interface registration into separate function to avoid the ifdeffery in smc911x_initialize(). Moreover, adjust the fail path such that we use goto labels. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>