On Monday, August 04, 2014 4:14 AM, Ian Abbott wrote: > The `driver_data` member value from the matched entry of the PCI module > device table `amplc_pci224_pci_table[]` is passed through to our comedi > "auto_attach" handler, `pci224_auto_attach()`. Use that to index > directly into our static board data array `pci224_boards[]` instead of > calling `pci224_find_pci_board()` to search for the entry matching the > PCI device ID. That function can be removed. The `devid` and `model` > members of `struct pci224_board` are no longer needed either and can be > removed. > > Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx> > --- > v2: Use C99 syntax for amplc_pci224_pci_table[] initializer. Thanks to > Hartley for finding that! Reviewed-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Thanks, Hartley _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel