diff options
| author | H Hartley Sweeten <[email protected]> | 2016-03-22 11:10:45 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-28 07:30:36 -0700 |
| commit | f229594a327720c0761e7307a5472aea780268c3 (patch) | |
| tree | f9bdb4f7f13edb694fd2c8b1dcf584305ddd9569 /tools/perf/scripts/python | |
| parent | 2363cbf073225537016aceb6bf122bbee6a0caa0 (diff) | |
staging: comedi: ni_660x: allocate counters early in (*auto_attach)
The ni_gpct_device_construct() could fail allocating the memory for
device and its counters. For aesthetics, call the function before
initializing the subdevices.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions