From: H Hartley Sweeten Date: Wed, 21 Jan 2015 22:11:44 +0000 (-0700) Subject: staging: comedi: ni_labpc_common: move comedi_alloc_devpriv() to common code X-Git-Tag: fixes-v4.0-rc1~99^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83d682bda16b515c61a99ff830964c1461b837a2;p=pandora-kernel.git staging: comedi: ni_labpc_common: move comedi_alloc_devpriv() to common code The ni_labpc_common module is used by the ni_labpc, ni_labpc_pci, and ni_labpc_cs drivers to provide the common code support. Those drivers currently all call comedi_alloc_devpriv() to allocate the private data before calling the common attach function. For aesthetics, move the private data allocation into the common code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed