On 2013-03-05 16:52, H Hartley Sweeten wrote:
Make use of the 'context' in the comedi auto config by passing the pci_device_id 'driver_data' as the 'context'. Modify all the comedi_driver pci drivers so that the 'driver_data' is an enum to the boardinfo entries. This removes the need for the helper functions that matched the pci vendor/device ids in the boardinfo against the pci_device in order to locate the boardinfo. It also removes the need to carry the pci vendor/device ids in the boardinfo.
These all look okay to me. The remarks in replies to patches 09 and 10 can be dealt with later, as I have a pretty good idea how to fix them.
-- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel