3c503: fix broken IRQ autoprobing
authorOndrej Zary <linux@rainbow-software.org>
Sun, 12 Jun 2011 09:40:49 +0000 (09:40 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Mon, 13 Jun 2011 22:25:19 +0000 (18:25 -0400)
commit1ffde03d2aa112750468cff07efc9e0a504517dd
tree737d80e83c8e3ca1232dc54e21320260f63c99aa
parentb9cabe52c27cf834137f3aaa46da23bcf32284e8
3c503: fix broken IRQ autoprobing

Fix broken IRQ autoprobing in 3c503 driver:
 - improper IRQ freeing (does not free IRQs causes WARN)
 - missing break when an working IRQ is found

The driver works with this patch.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
drivers/net/3c503.c