From: H Hartley Sweeten Date: Thu, 31 Jan 2013 00:38:02 +0000 (-0700) Subject: staging: comedi: ni_mio_cs: convert to auto attach X-Git-Tag: v3.9-rc1~127^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42d1aeea844874961af00621f0a5584aa9b9e1a5;p=pandora-kernel.git staging: comedi: ni_mio_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 ni_mio_common.c uses it. Cleanup ni_getboardtype() so it returns a pointer to the boardinto instead of the index. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed