]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: rtd520: remove 'got_regions' from private data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 02:04:37 +0000 (19:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:51:39 +0000 (16:51 -0700)
commit39ed05b769190e54d443b8b995b9f3ddee4a32e3
treebb2b70e65585c97c2d0b9be69848cf9b16753db4
parent825906964524dd9b69c1b7920515943fc370d914
staging: comedi: rtd520: remove 'got_regions' from private data

The 'got_regions' variable in the private data is used as a flag
for the detach to know if the pci device has been enabled.

Typically the dev->iobase variable is used to indicate this in
all the other comedi drivers. Do the same here for consistancy.

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