commit | d68d2727912b4e930c747616fcee30de5dc3b676 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat May 23 16:20:25 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Thu Jun 18 19:34:40 2020 +0200 |
tree | c63d19ee39af6511c057340e3cc0d58d0a53b880 | |
parent | e6ad81cb02e33958f77580b84df7f9a08bc23023 [diff] |
net: eepro100: Factor out MII registration Pull the MII registration code into a separate function. Moreover, properly free memory in case any of the registration or allocation functions fail, so this fixes an existing memleak. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>