summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2016-12-08 13:53:10 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-12-08 21:01:23 +0100
commit3e0f9b2ca8e4839335e4d64ec0a75f4fd5111c4b (patch)
tree888fe093d6b8eab537059b032c8779f69dd90ced /Documentation/ABI/testing
parent3c87f653af6f5a94d30786903fe79f5816ec08f3 (diff)
downloadlinux-3e0f9b2ca8e4839335e4d64ec0a75f4fd5111c4b.tar.gz
linux-3e0f9b2ca8e4839335e4d64ec0a75f4fd5111c4b.tar.bz2
linux-3e0f9b2ca8e4839335e4d64ec0a75f4fd5111c4b.zip
staging: comedi: comedidev.h: Document usage of 'detach' handler
Document when the "detach" handler function pointed to by the `detach` member of a `struct comedi_driver` is called by the comedi core, and how the "attach" and "auto_attach" handlers can defer clean-up to it when they return an error to the comedi core. This is already mentioned as part of the documentation for `comedi_auto_config()`, but is useful to document it for `struct comedi_driver` as well, since `comedi_auto_config()` is not usually called directly by low-level comedi drivers, and it is not called at all for "legacy" comedi devices that are configured manually. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing')
0 files changed, 0 insertions, 0 deletions