staging: comedi: addi_apci_2200: remove devpriv allocation
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 21 Jan 2013 22:17:40 +0000 (15:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 00:03:02 +0000 (16:03 -0800)
commit3f8e9e67cb8c0f99b3cb7936d650ad16adedbc34
treefde8830765d063479ac1d8894cd9937fafcd8529
parent934efe63e8bece28c69d18ea5e3bfd1619fc23b2
staging: comedi: addi_apci_2200: remove devpriv allocation

The 'devpriv' is not used in this driver. Remove it's allocation
in the auto_attach and the check for it in the detach.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_2200.c