From: H Hartley Sweeten Date: Mon, 17 Feb 2014 21:26:56 +0000 (-0700) Subject: staging: comedi: pcl812: factor analog input range selection out of (*attach) X-Git-Tag: v3.15-rc1~139^2~982 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f10ecc1c3274b8e8fdf1644504cc720f1970771;p=pandora-kernel.git staging: comedi: pcl812: 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 pcl812_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