From: H Hartley Sweeten Date: Thu, 19 Jul 2012 02:01:34 +0000 (-0700) Subject: staging: comedi: dyna_pci10xx: fix detach X-Git-Tag: v3.6-rc1~100^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2a64902e3c2ffa34b52e6ad13e8e3c40f6919c7;p=pandora-kernel.git staging: comedi: dyna_pci10xx: fix detach The detach for this driver is missing the check to make sure that the pci device is enabled before disabling it. It's also missing the pci_dev_put(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed