From: H Hartley Sweeten Date: Wed, 19 Dec 2012 22:44:24 +0000 (-0700) Subject: staging: comedi: comedi_fops: introduce comedi_is_subdevice_idle() X-Git-Tag: v3.9-rc1~127^2~517 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9682e28c49f85d4a3c5d2cab401d03ae266f6dde;p=pandora-kernel.git staging: comedi: comedi_fops: introduce comedi_is_subdevice_idle() Introduce, and use, a helper to check the subdevice runflags to see if it is not in error and not running. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed