diff options
| author | 2013-04-04 14:58:57 +0100 | |
|---|---|---|
| committer | 2013-04-05 14:33:18 -0700 | |
| commit | dcd7b8bd63cb81c5b973bf86510ca3c80bbbd162 (patch) | |
| tree | 04a6965c7bed192adef204499e4661990b4bc770 /scripts/Makefile.thinlto | |
| parent | staging: comedi: simplify driver module counting (diff) | |
staging: comedi: put module _after_ detach
On failure of the call to the low-level comedi device driver's
`->attach()` handler from `__comedi_device_attach()`, reverse the
current ordering of the calls to `module_put()` and
`comedi_device_detach()` because `__comedi_device_detach()` will call
code in the module being put.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
