staging: sm7xx: call disable_pci_device() if pci_probe() failed
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 6 Aug 2010 19:53:23 +0000 (23:53 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 21:48:09 +0000 (14:48 -0700)
commit918e3592b9ea865ce29bda06a7200eba80d8d5f8
tree3a24139502b5d5788265b581d762bcbaaa3fd625
parent3a8f2d3c716a218f1499041d74edb07638b45559
staging: sm7xx: call disable_pci_device() if pci_probe() failed

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

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sm7xx/smtcfb.c