OSDN Git Service

staging: comedi: das08_cs: remove unused pcmcia 'stop' logic
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 2 Jul 2012 22:46:08 +0000 (15:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:51:19 +0000 (15:51 -0700)
commit44378f65f1b528d3a368a515598e44a73a9c3a76
tree8efbc589af722143428d7460caecacd672edda15
parentfb795746195bb8566ecfb50dec9f63676fc29575
staging: comedi: das08_cs: remove unused pcmcia 'stop' logic

The pcmcia support code in this driver is cut-and-paste from the
dummy_cs.c driver of the Linux PCMCIA Card Services package. It
has code in it to stop the device during suspend but nothing in
the main comedi_driver uses it.

Remove the 'stop' variable from the pcmcia private data and all
the logic that deals with it.

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