commit | 38255b623e50640eee2ef63d2a1d34589a90ef76 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Mar 07 17:31:37 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 17 13:55:55 2014 -0700 |
tree | e6b2dc9cf3a6b70232f2d8168ba0c78aaaf7c7f2 | |
parent | 94c0377d569c46be0731a5a603c8f970b8cba681 [diff] |
staging: comedi: cb_pcidas: use cfc_handle_events() Use the comedi_fc helper function to automatically call the subdevice (*cancel) function when needed and call comedi_event(). Also, remove the clearing of the events, comedi_event() does that. In the Kconfig, COMEDI_CB_PCIDAS already selects COMEDI_FC. 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>