diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2013-01-25 14:59:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-29 23:06:40 -0500 |
commit | cdcc02291bea28b85b81230cb9bd328ab7a3cb35 (patch) | |
tree | 1d23e04db373fc63fbc74c877598236c824d23a6 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 86be5680f5804690654519751ed77aaa54b01826 (diff) |
staging: comedi: quatech_daqp_cs: cleanup daqp_cs_attach()
Absorb the code from daqp_cs_config() into this function and
properly return the error if the configuration fails.
Remove the dev_dbg() function trace messages.
Fix the kzalloc(). The preferred form for passing a size of a struct
is:
p = kzalloc(sizeof(*p), ...);
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions