From dc62b56a68d3d6dd1044e1f7d0c8310339cb5b5f Mon Sep 17 00:00:00 2001 From: Aaron Lu Date: Tue, 20 May 2014 17:07:38 +0800 Subject: [PATCH] gpio / ACPI: use *_cansleep version of gpiod_get/set APIs The GPIO operation region handler should be called where sleep is allowed, so we should use the *_cansleep version of gpiod_get/set APIs or we will get a warning message complaining invalid context if the GPIO chip has the cansleep flag set. Signed-off-by: Aaron Lu Acked-by: Mika Westerberg Acked-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-format-patch failed