On Fri, May 11, 2012 at 01:26:37PM -0500, H Hartley Sweeten wrote:How about doing this in the register function:
If (!pci_driver->name)
pci_driver->name = comedi_driver->driver_name;
This way all the drivers that still need to be refactored will still work.
After all the drivers have been updated, those two lines can be
removed.
So we have this patch and one big patch updating all the refactored
drivers. Some number of patches refactoring the remaining drivers
and using the module_comedi_pci_driver macro. Then one last
patch removing the check above.
How does that sound?
That sounds reasonable to me.