staging: comedi: s626: remove 'got_regions' from private data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 24 Sep 2012 20:23:07 +0000 (13:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:37:30 +0000 (09:37 -0700)
commit58f4a8fce1d6f1e42543376c85839576992e6100
tree2b80c4ccdfd4d47ddb4d8b10825d875d4895fe39
parent41f821d07729d1c3d59d1ebebf4c57e2ffe0a37c
staging: comedi: s626: remove 'got_regions' from private data

This variable is only used as a flag to indicate that the pci device
has been enabled and needs to be disabled in the detach. Use the
comedi_device 'iobase' for this and remove the private data variable.

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/s626.c
This page took 0.024792 seconds and 5 git commands to generate.