From 741ba8cdf0e938d131b49fda37f80057286e459b Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Fri, 6 Dec 2013 09:43:02 -0700 Subject: [PATCH] staging: comedi: pcmuio: tidy up pcmuio_handle_asic_interrupt() Unfortunatly, since there could be two asics, we can't use dev->read_subdev to get the subdevice. But, the comedi_subdevice associated with the 'asic' can easily be calculated. This allows removing the for () loop that searched for the correct subdevice. Tidy up the function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed