men-chameleon: Remove incorrect call to pci_dev_put() that causes a crash
requested to merge 393-men_lx_chameleon-search_pci_devices-introduced-in-v2-6-does-not-work-as-intended into mad-dev
The function pci_dev_put() was being called in combination with function pci_get_device(), however, according with the kernel documentation, the function pci_get_device() already calls to pci_dev_put() within so calling an extra time can cause a problem with the reference count.
Besides, as the patch proposed implements the function search_pci_devices() as non-recursive, we have removed all of its arguments as they are no longer required.
Closes #393
Closes #391
Edited by Jose Javier Rodriguez Barbarin