summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-04-05 16:09:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-08 10:27:43 -0700
commit623a73926c7012e3bb132e225621890207f5c611 (patch)
tree2d15c4350ea19dc0a28dc97d5a65cde19b0df9e1 /tools/perf/scripts/python
parent761a38a4e7b042e7e1c4dd954191f34eac024181 (diff)
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions