Tidy up the "gsc_hpdi" driver a bit and update it to use the `auto_attach()` method to auto-attach PCI devices. Remove the `attach()` method as there is no need to support manual attachment of devices via the `COMEDI_DEVCONFIG` ioctl. 1) staging: comedi: gsc_hpdi: use auto_attach method 2) staging: comedi: gsc_hpdi: remove devpriv->hw_dev 3) staging: comedi: gsc_hpdi: don't store physical base addresses 4) staging: comedi: gsc_hpdi: remove board(dev) function 5) staging: comedi: gsc_hpdi: make board name pointer const 6) staging: comedi: gsc_hpdi: use board name to request resources 7) staging: comedi: gsc_hpdi: change DEBUG_PRINT() 8) staging: comedi: gsc_hpdi: update driver description comment drivers/staging/comedi/drivers/gsc_hpdi.c | 175 +++++++++++++----------------- 1 file changed, 73 insertions(+), 102 deletions(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel