diff options
author | H Hartley Sweeten <[email protected]> | 2013-06-24 16:23:20 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-06-24 16:43:40 -0700 |
commit | fbd88336660ef7e85905af17a72e1112d924d41c (patch) | |
tree | e25fb525c16066cbaf3d2b57f899d1c99ececf94 /tools | |
parent | 7f5ac6f4f595b4b17b15ff6701f07377bea8ffd3 (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 <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions