From: Alexandre Courbot Date: Tue, 19 Aug 2014 17:06:08 +0000 (-0700) Subject: gpio: acpi: normalize use of gpiochip_get_desc() X-Git-Tag: fixes-against-v3.18-rc2~140^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e46cf32ced90d00972d5c3d9322cdb848d183338;p=pandora-kernel.git gpio: acpi: normalize use of gpiochip_get_desc() GPIO descriptors are changing from unique and permanent tokens to allocated resources. Therefore gpiochip_get_desc() cannot be used as a way to obtain a global GPIO descriptor anymore. This patch updates the gpiolib ACPI support code to keep and use the descriptor returned by a centralized call to gpiochip_get_desc(). Signed-off-by: Alexandre Courbot Tested-by: Mika Westerberg Signed-off-by: Linus Walleij --- Reading git-diff-tree failed