From: H Hartley Sweeten Date: Thu, 6 Jun 2013 00:49:00 +0000 (-0700) Subject: staging: comedi: pcl730: tidy up pcl730_di_insn() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f14a58b95cbc561a527ab14953504d0d9dc61d;p=pandora-kernel.git staging: comedi: pcl730: tidy up pcl730_di_insn() For aesthetic reasons, rename the function. Use a local variable for the 'reg' offset that is stored in the comedi_subdevice 'private' pointer to minimize the number of casts. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed