Fixed some module reference counting problems due to comedi_device_attach
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 20 Oct 2008 20:35:40 +0000 (20:35 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 20 Oct 2008 20:35:40 +0000 (20:35 +0000)
commitf4b2196f9180dbe0ce3e34fe63e526709fbc1d69
tree003e822508c91efdf9803db90ab9095dad4ccb34
parentee347ef80ffff282373fe96cd02e7545f1fda303
Fixed some module reference counting problems due to comedi_device_attach
and detach assuming the caller needs them to call module_get/module_put
for them.
comedi/comedi_fops.c
comedi/drivers.c