staging: agnx, fix fail paths in probe
authorJiri Slaby <jirislaby@gmail.com>
Thu, 26 Mar 2009 08:34:09 +0000 (09:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:35 +0000 (11:00 -0700)
commit8af6caf5d37aaa56911c15f9a7386fe93ff01f7e
tree67654048b18145d932d9b80dbfe0086e672a28ae
parenta505fe716de71e0b52db9f13d9bfe93d42a31fbc
staging: agnx, fix fail paths in probe

Return error on fail paths instead of 0.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/agnx/pci.c