From: Arnaud Patard Date: Mon, 10 Mar 2008 18:43:48 +0000 (-0700) Subject: gpio/pca953x bugfix: mark as can_sleep X-Git-Tag: v2.6.25-rc6~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=842078054da2d754c6b998b116d7c468abbfaaca;p=pandora-kernel.git gpio/pca953x bugfix: mark as can_sleep The pca953x driver is an I2C driver so gpio_chip->can_sleep should be set. This lets upper layers know they should use the gpio_*_cansleep() calls to access values, and may not access them from nonsleeping contexts. Signed-off-by: Arnaud Patard Signed-off-by: David Brownell Acked-by: "eric miao" Cc: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed