From: H Hartley Sweeten Date: Wed, 30 Jan 2013 23:47:01 +0000 (-0700) Subject: staging: comedi: ni_daq_dio24: convert to auto attach X-Git-Tag: v3.9-rc1~127^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1daad46a99f1f33b2559ff87a0fb9b01a07c87;p=pandora-kernel.git staging: comedi: ni_daq_dio24: 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 as well as the now unnecessary boardinfo. Check the call to subdev_8255_init() for success. That function does a kzalloc and could return -ENOMEM. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed