From: H Hartley Sweeten Date: Wed, 25 Sep 2013 22:39:48 +0000 (-0700) Subject: staging: comedi: pcl726: tidy up the comedi_lrange code X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~575 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08f91d18a48ea7cbf54b7f5132a643ba839d671b;p=pandora-kernel.git staging: comedi: pcl726: tidy up the comedi_lrange code For aesthetics, declare the comedi_lrange tables with one entry per line. Since the range data in the boardinfo is only for the analog outputs, rename the variables to make this clearer. Use ARRAY_SIZE to initialize the 'ao_num_ranges' member instead of open coding the value. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed