More cleanups for usbtmc
Felipe Balbi
felipebalbi at users.sourceforge.net
Sun Aug 3 14:05:42 UTC 2008
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: 22670 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20080803/c410b3fa/attachment.bin>
More information about the devel
mailing list