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: NRahul Ruikar <rahul.ruikar@gmail.com> Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
Showing
想要评论请 注册 或 登录