More cleanups for usbtmc

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

 



Hi all,

Greg, attached is some more cleanups for usbtmc driver.

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.

Anyways, here are some more cleanups.

-- 
Best Regards,

Felipe Balbi
felipebalbi at users.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb-tmc-more-cleanups.diff
Type: text/x-diff
Size: 22669 bytes
Desc: not available
Url : http://driverdev.linuxdriverproject.org/pipermail/devel/attachments/20080803/c410b3fa/attachment-0001.bin 


[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