]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: drivers: introduce comedi_alloc_devpriv()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 24 Jun 2013 23:55:14 +0000 (16:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:04:59 +0000 (14:04 -0700)
commit54db996e6dab51571718e8e97c26fdc695e254ac
tree807414f92945a7243df7f089fcdeb87bebf390e5
parentb0d67ac7771683b08a29fc21101e785a724cb7a6
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>
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers.c