pcmcia: pd6729: fix error return code in pd6729_pci_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 7 Jun 2013 02:16:54 +0000 (10:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Jun 2013 05:38:17 +0000 (22:38 -0700)
commit214da6728acac285cac0e8e9b6c4c13838b8e1b0
tree318085f92824bcd8693c8b4f1848aa7d9d0efa81
parent38a4671cad3f0d277cf48445b49e42a475ebfb6a
pcmcia: pd6729: fix error return code in pd6729_pci_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pcmcia/pd6729.c