xircom_cb: fix device probe error path.
commitd59a1881c0ff63f9edbc7f4ad5a5e593fe779e1b
authorFrancois Romieu <romieu@fr.zoreil.com>
Sun, 11 Mar 2012 22:34:54 +0000 (11 23:34 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Sat, 7 Apr 2012 09:47:15 +0000 (7 11:47 +0200)
tree815a012e4baa5e1320cb7411f423cbee400334f5
parent5e58deb917bfa8dad71cb2e2b9f9572746ff8e6a
xircom_cb: fix device probe error path.

- unbalanced pci_disable_device
- PCI ressources were not released
- mismatching pci_alloc_.../kfree pairs are replaced by DMA alloc helpers.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Ack-by: Grant Grundler <grundler@parisc-linux.org>
drivers/net/ethernet/dec/tulip/xircom_cb.c