drivers/char/cyclades.c: cy_pci_probe: fix error path
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 2 Jan 2009 13:50:07 +0000 (13:50 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:43 +0000 (10:19 -0800)
commitc847d47cb7b2fa78b17c9e17ed3fbd010ee3d3ca
treef497cffce4bd60dfe53d54dbd84179a470b8a6b5
parent6b06f19151c335ee0c5b61839fa4e6838182ebb8
drivers/char/cyclades.c: cy_pci_probe: fix error path

We forgot to release resources in one case.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=12137

Reported-by: Florian Lohoff <flo@rfc822.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/cyclades.c