From: H Hartley Sweeten Date: Thu, 31 Jan 2013 00:08:05 +0000 (-0700) Subject: staging: comedi: ni_labpc_cs: convert to auto attach X-Git-Tag: v3.9-rc1~127^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e4472ef16dbed3b1bb876b7ea6e0bdc4c111d2;p=pandora-kernel.git staging: comedi: ni_labpc_cs: convert to auto attach Convert this pcmcia driver to the comedi auto attach mechanism. This allows getting rid of the "hack" needed to pass the pcmcia_device pointer from the pcmcia_driver to the comedi_driver. We still need the boardinfo because the ni_labpc driver uses it. But we can get rid of the duplicate that allowed attaching with the driver name. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed