Christophe JAILLET 00777fac28 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
If the optional regulator is deferred, we must release some resources.
They will be re-allocated when the probe function will be called again.

Fixes: 6eacf31139bf ("ethernet: arc: Add support for Rockchip SoC layer device tree bindings")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-20 12:06:23 -04:00
..
2018-03-06 11:14:08 -05:00
2018-01-29 14:25:47 -05:00
2018-01-29 16:37:15 -08:00
2017-12-26 13:10:07 -05:00
2018-01-21 18:05:30 -05:00
2018-01-02 16:14:49 -06:00
2018-03-16 12:15:24 -04:00
2018-01-17 18:04:43 -06:00
2017-11-16 22:58:12 +09:00