commit | 0fbc7c505680ca6efe2486afb34866602781c980 | [log] [tgz] |
---|---|---|
author | Mike Rapoport <mike.rapoport@gmail.com> | Sun Jan 17 19:59:49 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 18:50:53 2016 -0800 |
tree | b96a7589d219e157407def207b97b1d89448c889 | |
parent | d9d3e025c0f68a1ec99ee13209d31d2a766ac56f [diff] |
staging: sm750fb: disable PCI device if lynxfb_pci_probe fails In case of error during lynxfb_pci_probe, the function returned without calling pci_disable_device. Fix it by adding pci_disable_device on the error cleanup path. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>