staging: comedi: cleanup_device() -> comedi_device_detach_cleanup()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 8 Nov 2013 15:03:26 +0000 (15:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2013 00:16:43 +0000 (16:16 -0800)
commit3867e20db4823c733710f11b65606a9ed7d297c2
treecacea5ad92c735c8aae3a06b269783396b5d9fff
parentbf11c134246e8f3cfa2582a3d2af84ed7dfd59b6
staging: comedi: cleanup_device() -> comedi_device_detach_cleanup()

Rename the local function `cleanup_device()` to
`comedi_device_detach_cleanup()`.  It is only called from the
`comedi_device_detach()` function and that is called from
`comedi_device_cleanup()` and other places.  The more specific function
name seems less confusing.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c