From f6009ae536ec642e451d29327bf04532c4c7e0aa Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 4 Sep 2014 10:39:38 -0700 Subject: [PATCH] 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-format-patch failed