diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-08-16 19:53:20 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-17 08:17:35 -0700 |
| commit | 8496fc47e311b2ceeccb224d215baae86172d092 (patch) | |
| tree | 8ff4b2009f0038e3bc8a2845b617f2df04155787 /include | |
| parent | 86476d9f7cdffbe51396a1c0597d621a670d337d (diff) | |
staging: comedi: cb_pcimdda: remove attached_to_8255 from private data
The attached_to_8255 variable in the private data is used as a flag
to indicate that the 8255 subdevice has been initialized. The call
to subdev_8255_cleanup only requires that the dev->subdevices pointer
is valid. Change the test in the detach function and remove the
attached_to_8255 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
