From: H Hartley Sweeten Date: Sat, 8 Mar 2014 00:31:34 +0000 (-0700) Subject: staging: comedi: ni_at_a2150: use cfc_handle_events() X-Git-Tag: v3.15-rc1~139^2~288 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5bdf51216fafe4d21121bad2f8a36371d4c8f88;p=pandora-kernel.git staging: comedi: ni_at_a2150: 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_NI_AT_A2150 already selects COMEDI_FC. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed