staging: comedi: adl_pci9118: remove 'valid' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 May 2014 16:35:40 +0000 (09:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:18:55 +0000 (21:18 +0900)
commit49b61195e5b5fd7884a3bddab43a2e53983988c7
tree7dc98db0f2fea12c1ad6d64e184750e5541be5ac
parentb8546f93d9026ecfe334b31587572e7d24bac39c
staging: comedi: adl_pci9118: remove 'valid' from private data

This member of the private data is set only used during the (*detach)
to check if the board can be reset. The pci9118_reset() function just
needs a valid dev->iobase. Use that instead.

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/adl_pci9118.c