isdn: avm: call pci_disable_device() if pci_probe() failed
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 9 Aug 2010 09:50:47 +0000 (09:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Aug 2010 09:51:10 +0000 (02:51 -0700)
commita5a4405b4d666454257be4048511840f3ab8adbb
tree546fcc026ed0d2a70fdb94f0fc767336ec1667c9
parentb69bcd9d9c3c47ed76da9cc0215c2eda0b7c16cf
isdn: avm: call pci_disable_device() if pci_probe() failed

Driver should call pci_disable_device() if it returns from pci_probe()
with error.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/avm/t1pci.c