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
Minor nit, can you name your v2 patches like:
[PATCH 03/13 v2] ...
so that when I sort them in mutt, they show up in the proper order with
the other patches in the series?
Don't worry about this one, I got it, but in the future it would be
great.
thanks,
greg k-h