staging: comedi: amplc_pci230: absorb pci230_alloc_private()
authorIan Abbott <abbotti@mev.co.uk>
Mon, 1 Sep 2014 11:03:42 +0000 (12:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 18:21:31 +0000 (11:21 -0700)
commit0a89e7147229d183f9e5566fc774d8e0dfeff627
tree806eef89f9d609aceaadec5501df6a9084cfc009
parent77ffced7af82c13243a642e731b52fc1714fd48a
staging: comedi: amplc_pci230: absorb pci230_alloc_private()

`pci230_alloc_private()` is now only called from `pci230_auto_attach()`
to allocate private device storage and initialize various spin-lock
members therein.  Absorb the body of `pci230_alloc_private()` into
`pci230_auto_attach()` itself.

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>
drivers/staging/comedi/drivers/amplc_pci230.c