From: H Hartley Sweeten Date: Wed, 24 Jul 2013 21:10:54 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbduxsub_ao_isoc_irq() X-Git-Tag: v3.12-rc1~183^2~586 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e057288ffd62ae63536d1f37dad4a22d2b84148b;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbduxsub_ao_isoc_irq() Rename the local variables to the comedi "norm". The comedi_subdevice in this function is actually the dev->write_subdev that was initialized in the attach. Use that instead of accessing the dev->subdevices array directly. Use dev->class_dev as the device for all dev_printk() messages. Instead of using the 'comedidev' back pointer in the private data, use the comedi_device 'dev' that we already have. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed