summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-24 16:23:20 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-24 16:43:40 -0700
commitfbd88336660ef7e85905af17a72e1112d924d41c (patch)
treee25fb525c16066cbaf3d2b57f899d1c99ececf94 /tools/perf/scripts/python
parent7f5ac6f4f595b4b17b15ff6701f07377bea8ffd3 (diff)
staging: comedi: unioxx5: use comedi_alloc_spriv()
Use the helper function to allocate the memory and set the subdevice private pointer. This allows the core to automatically free the memory during the detach so the driver doesn't need to deal with it. 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