/* This is used directly or indirectly to implement gpio_cansleep(). It returns nonzero if access reading or writing the GPIO value can sleep.  */
int __gpio_cansleep(unsigned gpio)
/* This is used directly or indirectly to implement gpio_cansleep(). It returns nonzero if access reading or writing the GPIO value can sleep.  */
int __gpio_cansleep(unsigned gpio)
{
	struct gpio_chip	*chip;
	chip = gpio_to_chip(gpio);
	return chip->can_sleep;
}