]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_apci_1516: cleanup subdevice ops pointers
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 13 Nov 2012 20:41:22 +0000 (13:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 23:12:47 +0000 (15:12 -0800)
commit16975f97232d71fef2daf7715496b63919603f00
treefb39c09f7ebd6ec9e0b1906fa5ad9933f47f6e93
parent5b89da1f156bc5556bb55196712c8780eed82ab0
staging: comedi: addi_apci_1516: cleanup subdevice ops pointers

The same subdevice operations are used, as needed, for all the boards
supported by this driver. Remove the function pointers from the
boardinfo and set the subdevice operations directly in the attach.

Remove all the subdevice operations that would be set to NULL.

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_1516.c