From: H Hartley Sweeten Date: Fri, 22 Mar 2013 22:55:07 +0000 (-0700) Subject: staging: comedi: s626: cleanup "subdevice" and "cmd" in s626_irq_handler() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~436 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abafc9e851c2319be0f3244af944cc0fa0dd4d6d;p=pandora-kernel.git staging: comedi: s626: cleanup "subdevice" and "cmd" in s626_irq_handler() The comedi_subdevice in this function is actually the dev->read_subdev that was initialized during the attach of the board. Use that instead of accessing the dev->subdevices array directly. Also, get the comedi_cmd used in s626_irq_handler() when the function is first entered. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed