mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
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 <[email protected]> Signed-off-by: David Brownell <[email protected]> Acked-by: "eric miao" <[email protected]> Cc: Jean Delvare <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>