From: H Hartley Sweeten Date: Fri, 17 Aug 2012 02:53:20 +0000 (-0700) Subject: staging: comedi: cb_pcimdda: remove attached_to_8255 from private data X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~871 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8496fc47e311b2ceeccb224d215baae86172d092;p=pandora-kernel.git staging: comedi: cb_pcimdda: remove attached_to_8255 from private data The attached_to_8255 variable in the private data is used as a flag to indicate that the 8255 subdevice has been initialized. The call to subdev_8255_cleanup only requires that the dev->subdevices pointer is valid. Change the test in the detach function and remove the attached_to_8255 variable. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed