summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2013-01-25 15:02:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-29 23:06:41 -0500
commitb7c0afa4b68c7b1cacaa4511721347682f7e1558 (patch)
tree52ecd32cb50d02d893d63a71d91be118c40106cf /tools/perf/scripts/python/sctop.py
parentc65c64d0f0b269b1239fdce253fd4717281cc98d (diff)
staging: comedi: quatech_daqp_cs: cleanup subdevice init
Remove the dev_info() board attach noise. For aesthetic reasons, add some whitespace to the subdevice init. Remove the init of the s->len_chanlist for the subdevices that do not support commands. It's not used by them and the comedi core will handle initializing it properly in the postconfig. Change the return after a successful attach to "0". The comedi core expects a < 0 value to indicate an error and "0" is the typical value returned to indicate success. 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/sctop.py')
0 files changed, 0 insertions, 0 deletions