From: H Hartley Sweeten Date: Mon, 17 Feb 2014 21:26:57 +0000 (-0700) Subject: staging: comedi: pcl818: factor analog input range selection out of (*attach) X-Git-Tag: v3.15-rc1~139^2~981 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f39b8ccf7e02277d94ae67210fd71225ee4e53f5;p=pandora-kernel.git staging: comedi: pcl818: factor analog input range selection out of (*attach) The analog input subdevice range is setup in this driver based on a config option passed by the user. Factor the code that sets the range_table out of pcl818_attach() to clarify the (*attach). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed