From: H Hartley Sweeten Date: Wed, 24 Jul 2013 21:09:51 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbdux_attach_common() X-Git-Tag: v3.12-rc1~183^2~589 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72db740fd9ddc5cf4fc487d42bbfbbb7dfc2e564;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbdux_attach_common() Rename the local variable used for the device private data. Move the setting of the device private data 'comedidev' to the (*auto_attach) where the other back pointers are set. Tidy up the subdevice init by removing the unnecessary comments and adding some whitespace. Remove the unnecessary dev_info() after a sucessful attach. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed