From: H Hartley Sweeten Date: Fri, 7 Mar 2014 20:40:56 +0000 (-0700) Subject: staging: comedi: jr3_pci: use comedi_alloc_spriv() X-Git-Tag: v3.15-rc1~139^2~319 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fe9bb6705f14bc4e72744c6efe95faf6ce0c778;p=pandora-kernel.git staging: comedi: jr3_pci: use comedi_alloc_spriv() Use the helper function to allocate the subdevice private data. This sets the s->private variable for us and allows the comedi core to automatically kfree() 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