isdn: avm: call pci_disable_device() if pci_probe() failed
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 9 Aug 2010 09:50:37 +0000 (09:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Aug 2010 09:51:10 +0000 (02:51 -0700)
commitb69bcd9d9c3c47ed76da9cc0215c2eda0b7c16cf
treebf9e9fac2ed2472707c4b2d55b481312cbfe188b
parentdacb397511289154a68dea1f4bd674c660161c23
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/c4.c