net/smsc911x: Fix deferred probe for interrupt
authorTony Lindgren <tony@atomide.com>
Fri, 28 Aug 2015 18:50:15 +0000 (11:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2015 20:09:17 +0000 (13:09 -0700)
commitf892a84cc890aaaba7bc42daf2e2ee86b0961884
tree7e0bb8dbaa0516fe2e6c9cd8273a84bd28f5edae
parent73e6742027f5cb5a7c747d9abab5351b01fd4c74
net/smsc911x: Fix deferred probe for interrupt

The interrupt handler may not be available when smsc911x probes if the
interrupt handler is a GPIO controller for example. Let's fix that
by adding handling for -EPROBE_DEFER.

Cc: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c