From: H Hartley Sweeten Date: Thu, 4 Sep 2014 17:39:38 +0000 (-0700) Subject: staging: comedi: adl_pci9118: allocate private data in pci9118_common_attach() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~691 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6009ae536ec642e451d29327bf04532c4c7e0aa;p=pandora-kernel.git staging: comedi: adl_pci9118: allocate private data in pci9118_common_attach() The (*auto_attach) and legacy (*attach) both allocate the private data but don't use it. For aesthetics, move the allocation into the common attach code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed