staging: comedi: addi_apci_035: remove unnecessary subdevice initialization
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 Oct 2014 17:44:25 +0000 (10:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 07:48:53 +0000 (15:48 +0800)
commit8d3e0bf092309808f715fd703bed2719eb77b982
tree082847d6c873772314ab3ec9f75193f3315603b2
parent1881c0f3b9b67bc9a836f19f5b3a2d521174ce66
staging: comedi: addi_apci_035: remove unnecessary subdevice initialization

The subdevices that don't initialize any of the callbacks don't really
exist. Remove the unnecessary initialzation and just set the type to
COMEDI_SUBD_UNUSED.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_035.c
This page took 0.024436 seconds and 5 git commands to generate.