diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-10-21 00:14:57 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-10-23 10:09:22 +0200 |
commit | 5fcdb9dc98e76001060bb89e3b1269384f9f5201 (patch) | |
tree | 30b68b1c14036ef0d7f6c7cbc84c30e35f652887 /include | |
parent | gpiolib / ACPI: document the GPIO descriptor based interface (diff) | |
download | linux-5fcdb9dc98e76001060bb89e3b1269384f9f5201.tar.xz linux-5fcdb9dc98e76001060bb89e3b1269384f9f5201.zip |
gpiolib: devres: fix devm_gpiod_get_index()
Fix the return value if devm_gpiod_get_index(). It was returning 0 while
it should return the obtained GPIO descriptor.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions