From: H Hartley Sweeten Date: Tue, 14 May 2013 21:25:42 +0000 (-0700) Subject: staging: comedi: dt9812: pass the comedi_device * to dt9812_configure_gain() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~626 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be8f16de76cdc6440c420b90f3fab768ac50a7a5;p=pandora-kernel.git staging: comedi: dt9812: pass the comedi_device * to dt9812_configure_gain() For aesthetic reasons, instead of passing the struct usb_dt9812 pointer, pass the comedi_device pointer to this function. Tidy up the function and use the comedi_device class_dev for the dev_err() message. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed