summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-moxart.c
diff options
context:
space:
mode:
authorMika Westerberg2013-12-10 11:00:27 +0100
committerLinus Walleij2013-12-12 21:56:36 +0100
commita00580c2809f44fd1d284bf2638395a261d28cc9 (patch)
treea7a161ccfe37bf1ee01c8968b338ff6091ab7343 /drivers/gpio/gpio-moxart.c
parentgpio: msm: Add module device table and mark table const (diff)
downloadkernel-qcow2-linux-a00580c2809f44fd1d284bf2638395a261d28cc9.tar.gz
kernel-qcow2-linux-a00580c2809f44fd1d284bf2638395a261d28cc9.tar.xz
kernel-qcow2-linux-a00580c2809f44fd1d284bf2638395a261d28cc9.zip
gpio / ACPI: return -ENOENT when no mapping exists
Doing this allows drivers to distinguish between a real error case (if there was an error when we tried to resolve the GPIO) and when the optional GPIO line was not available. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-moxart.c')
0 files changed, 0 insertions, 0 deletions