commit | 66fed7300d250197c24fb54cad7f6cae7df95fe1 | [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 | 6c7d3f6b3fb5860f55d1c7733d2b5929e0721e99 [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>