diff options
author | Rahul Ruikar <rahul.ruikar@gmail.com> | 2010-09-26 18:50:30 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-10-05 15:49:51 +0200 |
commit | 1ab488de544b7f94b4f8e5aed2b178cac685802f (patch) | |
tree | a2bb987928f4a8eb2a447b01898d578a7becbd45 /samples/kobject | |
parent | pcmcia: add a few debug statements (diff) | |
download | linux-1ab488de544b7f94b4f8e5aed2b178cac685802f.tar.xz linux-1ab488de544b7f94b4f8e5aed2b178cac685802f.zip |
pcmcia: vrc4173_cardu: Fix error path for pci_release_regions and pci_disable_device
- pci_release_regions called during return error path.
- pci_disable_device called for cases where earlier it was enabled.
- code duplication avoided/reduced by adding resource release at goto statements.
Signed-off-by: Rahul Ruikar <rahul.ruikar@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions