From: H Hartley Sweeten Date: Fri, 5 Apr 2013 23:09:15 +0000 (-0700) Subject: staging: comedi: serial2002: split up serial_2002_open() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~262 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=623a73926c7012e3bb132e225621890207f5c611;p=pandora-kernel.git staging: comedi: serial2002: split up serial_2002_open() Split out the code that sets up the comedi subdevices that are attached to the serial port. There are actually two steps: 1) Read the configuration of the attached subdevices. 2) Use the configuration data to setup the comedi subdevices. Step 1 is split out as serial2002_setup_subdevs(). Step 2 is split out as serial2002_setup_subdevice(). Cleanup the split out code to remove all the extra '{ }' and indents. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed