From: H Hartley Sweeten Date: Tue, 26 Aug 2014 00:55:49 +0000 (-0700) Subject: staging: comedi: adv_pci_dio: remove 'valid' member from private data X-Git-Tag: fixes-for-v3.18-merge-window~15^2~995 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab5db9ca63377904136dce678f0c42f09f1ce6d;p=pandora-kernel.git staging: comedi: adv_pci_dio: remove 'valid' member from private data This member is set at the end of the driver attach and is only used to verify that pci_dio_reset() can be called in the (*detach). The only requirement for pci_dio_reset() to work is that the dev->iobase is valid. Remove the 'valid' member from the private data and use 'dev->iobase' to see if the reset can be done. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed