From: H Hartley Sweeten Date: Mon, 24 Jun 2013 23:55:44 +0000 (-0700) Subject: staging: comedi: use comedi_alloc_devpriv() X-Git-Tag: v3.12-rc1~183^2~739 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bdab509bf9c6d838dc0a3b1d68bbf841fc20b5a;p=pandora-kernel.git staging: comedi: use comedi_alloc_devpriv() Use the helper function to allocate memory and set the comedi_device private data pointer. This removes the dependency on slab.h from most of the drivers so remove the global #include in comedidev.h and the local #include in some of the drivers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed