diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-08-06 23:52:57 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-31 14:48:10 -0700 |
commit | c37c6d2196fc716abac6531c4cf08ad2874d52d8 (patch) | |
tree | e37b114b56ded85dd4f8c51bef0f6f7f427c1c75 /drivers/infiniband | |
parent | 918e3592b9ea865ce29bda06a7200eba80d8d5f8 (diff) |
staging: cx25821: call disable_pci_device() if pci_probe() failed
Driver should call disable_pci_device() if it returns from pci_probe()
with error. Also it must not be called if pci_request_region() fails as
it means that somebody uses device resources and rules the device.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions