More cleanups for usbtmc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 03, 2008 at 05:05:42PM +0300, Felipe Balbi wrote:
> Hi all,
> 
> Greg, attached is some more cleanups for usbtmc driver.

Thanks a lot, I've merged these in with the current patch.

> I was thinking on moving at least get_capabilities to a sysfs
> file, what do you think ?
> 
> I was wondering something like:
> 
> /sys/.../capabilities/ :
>           - interface_capabilities
>           - device_capabilities
>           - usb488_interface_capabilities
>           - usb488_device_capabilities
> 
> during probe we could issue the get capabilities usb_control_msg()
> and save the result in device's structure, later we just have to print, I
> assume device won't change its capabilities on the fly.

That's a good idea.  I'll go try to implement that right now.

thanks,

greg k-h


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux