From: H Hartley Sweeten Date: Tue, 14 May 2013 20:29:09 +0000 (-0700) Subject: staging: comedi: usbduxfast: tidy up usbduxfastsub_ai_Irq() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~665 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8eb27e07642545e6ed0f47054c0c041fdf91609;p=pandora-kernel.git staging: comedi: usbduxfast: tidy up usbduxfastsub_ai_Irq() Rename the CamelCase function, Rename some of the local variables to the normal names used in comedi drivers. Add a local variable for the comedi_async *. Remove the sanity checking. The urb that causes this function to be called can only be submitted if the sanity checks already passed. Change the way the comedi_subdevice is fetched. The attach function sets the dev->read_subev pointer to the correct subdevice. Use that instead of accessing the dev->subdevices array directly. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed