summaryrefslogtreecommitdiff
path: root/include/linux/patchkey.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-05-24 17:27:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-04 20:39:37 -0700
commitd60d9f34d37775fa64695a22b405e58ac3cda39c (patch)
tree60aebd3864734e278e333a274121cff529afaaec /include/linux/patchkey.h
parent4b5c0f106e7eb588e904184d9bc16427111c486f (diff)
staging: comedi: das08: Move I/O resource (de)allocation.
Don't deal with allocation and deallocation of I/O resources and PCI enabling/disabling in the exported functions das08_common_attach() and das08_common_detach(). Do it in das08_attach() and new function das08_detach() (which is now the comedi detach() hook for this driver). This keeps things more symmetrical. Callers of das08_common_attach() and das08_common_detach() are now responsible for allocation of their own I/O resources and enabling of their own devices. The only external caller of das08_common_attach() and das08_common_detach() is the das08_cs module, which looks after its own I/O resources. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions