commit | 54db996e6dab51571718e8e97c26fdc695e254ac | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jun 24 16:55:14 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 23 14:04:59 2013 -0700 |
tree | 807414f92945a7243df7f089fcdeb87bebf390e5 | |
parent | b0d67ac7771683b08a29fc21101e785a724cb7a6 [diff] |
staging: comedi: drivers: introduce comedi_alloc_devpriv() Introduce a helper function to allocate memory and set the comedi_device private data pointer. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>