From: H Hartley Sweeten Date: Wed, 24 Jul 2013 21:15:22 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up send_dux_commands() X-Git-Tag: v3.12-rc1~183^2~576 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49cc49dd9e36c7154fc9da528b85db0eb7605969;p=pandora-kernel.git staging: comedi: usbdux: tidy up send_dux_commands() For aesthetic reasons, pass the comedi_device pointer to this function instead of the private data pointer. Rename the local variable used for the private data pointer to the comedi "norm". Add a local variable for the usb_device pointer to tidy up the usb_bulk_msg() call. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed