net: smsc911x: back out silently on probe deferrals
When trying to get a regulator we may get deferred and we see
smsc911x 1b800000.ethernet-ebi2 (unnamed net_device) (uninitialized):
couldn't get regulators -517
Then the driver continues anyway. Which means that the regulator
may not be properly retrieved and reference counted, and may be
switched off in case noone else is using it.
Fix this by returning silently on deferred probe and let the
system work it out.
Cc: Jeremy Linton <firstname.lastname@example.org>
Signed-off-by: Linus Walleij <email@example.com>
Signed-off-by: David S. Miller <firstname.lastname@example.org>
1 file changed