From: H Hartley Sweeten Date: Tue, 14 May 2013 21:23:35 +0000 (-0700) Subject: staging: comedi: dt9812: pass the comedi_device * to dt9812_digital_out() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~629 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51af6fa15e83f88fdd7de235db353f6a8b35513f;p=pandora-kernel.git staging: comedi: dt9812: pass the comedi_device * to dt9812_digital_out() For aesthetic reasons, instead of passing the 'slot' pointer, pass the comedi_device pointer to this function and rename the local var 'result' to simply 'ret'. Also, initialize the 'reg', and 'value' when they are declared. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed