From: David Brownell Date: Wed, 11 Aug 2010 01:02:24 +0000 (-0700) Subject: gpiolib: decouple might_sleep_if() from DEBUG X-Git-Tag: v2.6.36-rc1~193 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c4ba9466117b16a2b85034bb87db528aaeb3f07;p=pandora-kernel.git gpiolib: decouple might_sleep_if() from DEBUG Be more consistent about runtime programming interface abuse warnings, which can reduce some confusion and trigger bugfixes. Based on an observation and patch from Jani Nikula. Also update doc to highlight some sleeping-call issues and to match some recent changes. Signed-off-by: David Brownell Cc: Jani Nikula Cc: "Ryan Mallon" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed