[PATCH] staging: comedi: usbduxfast: use attach_usb() hook

H Hartley Sweeten hartleys at visionengravers.com
Mon Jun 18 16:10:03 UTC 2012


On Monday, June 18, 2012 7:14 AM, Ian Abbott wrote:
> Change the usbduxfast driver to use the new attach_usb() hook in struct
> comedi_driver to auto-configure probed USB devices after the firmware is
> loaded.
>
> Signed-off-by: Ian Abbott <abbotti at mev.co.uk>
> ---
>  drivers/staging/comedi/drivers/usbduxfast.c |  133 ++++++++++++++++-----------
>  1 files changed, 79 insertions(+), 54 deletions(-)

Ian,

If the attach_usb callback is provided does the attach callback even
need to be supplied?

Regards,
Hartley



More information about the devel mailing list