From: H Hartley Sweeten Date: Fri, 7 Mar 2014 20:41:00 +0000 (-0700) Subject: staging: comedi: jr3_pci: tidy up jr3_pci_poll_subdevice() X-Git-Tag: v3.15-rc1~139^2~315 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01fca4732b98ab59de087fafd96359f5d206169f;p=pandora-kernel.git staging: comedi: jr3_pci: tidy up jr3_pci_poll_subdevice() Refactor the function to reduce the indent level. For aesthetics, rename the subdevice private data pointer from 'p' to 'spriv'. Rename the lacal variable used for the channel->full_scale to 'fs' to reduce the line lengths. Remove the setting of range[8]. The min,max values are the same as the ones used when the subdevice private data was allocated and initialized. Remove the poll_delay_min_max() that are the same as the default. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed