From: Ian Abbott Date: Thu, 16 Aug 2012 10:14:19 +0000 (+0100) Subject: staging: comedi: amplc_pc263: check bus type in detach routine X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~909 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c292278288f9b29f994fe54cbe11cc30d021218;p=pandora-kernel.git staging: comedi: amplc_pc263: check bus type in detach routine When detaching the device in pc263_detach() mirror the bus type checks performed by pc263_attach(). The existing tests are safe but rely on dev->iobase being 0 when comedi_to_pci_dev(dev) is NULL. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed