summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-03-07 13:40:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 12:38:52 -0700
commit6fe9bb6705f14bc4e72744c6efe95faf6ce0c778 (patch)
tree1999e6720c9f28e77a51f07209eb611b2b279616 /tools/perf/scripts
parent050389f5eb81180410f3033306c5f7d9f7f362a8 (diff)
staging: comedi: jr3_pci: use comedi_alloc_spriv()
Use the helper function to allocate the subdevice private data. This sets the s->private variable for us and allows the comedi core to automatically kfree() the memory during the (*detach). 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')
0 files changed, 0 insertions, 0 deletions