From: H Hartley Sweeten Date: Mon, 24 Jun 2013 23:23:20 +0000 (-0700) Subject: staging: comedi: unioxx5: use comedi_alloc_spriv() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd88336660ef7e85905af17a72e1112d924d41c;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed