From: H Hartley Sweeten Date: Wed, 24 Jul 2013 19:08:58 +0000 (-0700) Subject: staging: comedi: ii_pci20kc: use comedi_alloc_spriv() X-Git-Tag: v3.12-rc1~183^2~560 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b00f54b248144acc393740e4c4679b6aa531193;p=pandora-kernel.git staging: comedi: ii_pci20kc: use comedi_alloc_spriv() For aesthetic reasons, use the helper function to allocate the subdevice private data instead of hanging it on the device private data. The core will free the memory during the detach. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed