From: H Hartley Sweeten Date: Tue, 26 Aug 2014 00:55:50 +0000 (-0700) Subject: staging: comedi: icp_multi: remove 'valid' member from private data X-Git-Tag: fixes-for-v3.18-merge-window~15^2~994 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caf6d12d036ea78e8f54c40fa99320416b040c71;p=pandora-kernel.git staging: comedi: icp_multi: remove 'valid' member from private data This member is set at the end of the driver attach and is only used to verify that icp_multi_reset() can be called in the (*detach). The only requirement for icp_multi_reset() to work is that the dev->mmio is valid. Remove the 'valid' member from the private data and use 'dev->mmio' 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