diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-08-19 10:06:08 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-08-29 08:58:28 +0200 |
commit | e46cf32ced90d00972d5c3d9322cdb848d183338 (patch) | |
tree | 3fe5b06cd1e7f0bb2facb47b2fbcff0b71136d8e /Documentation/gpio | |
parent | 5a2533a7478334593c50284fd414c70b3b9217c0 (diff) | |
download | linux-e46cf32ced90d00972d5c3d9322cdb848d183338.tar.gz linux-e46cf32ced90d00972d5c3d9322cdb848d183338.tar.bz2 linux-e46cf32ced90d00972d5c3d9322cdb848d183338.zip |
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 <acourbot@nvidia.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/gpio')
0 files changed, 0 insertions, 0 deletions