]> Pileus Git - ~andy/linux/commit
staging: comedi: addi-data: remove 'b_ValidDriver' from the private data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 31 Oct 2012 23:58:25 +0000 (16:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 15:43:25 +0000 (08:43 -0700)
commitae0e3b8b159499658dabe54753b5d306045928db
tree06d832606110f4c4656feac76b3a41d4f816d4fd
parent342481929705695b0cae6c75ed7180ef5143feff
staging: comedi: addi-data: remove 'b_ValidDriver' from the private data

This variable is only used in the detach of the addi-data boards to
indicate that the attach of the board was successful and that the reset
function can be called. We can use the dev->iobase variable to indicate
this instead. Once this variable is set the attach always completes.

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-data/addi_common.c
drivers/staging/comedi/drivers/addi-data/addi_common.h