From: Mika Westerberg Date: Tue, 10 Dec 2013 10:00:27 +0000 (+0200) Subject: gpio / ACPI: return -ENOENT when no mapping exists X-Git-Tag: v3.14-rc1~145^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a00580c2809f44fd1d284bf2638395a261d28cc9;p=pandora-kernel.git 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 Acked-by: Alexandre Courbot Acked-by: Rafael J. Wysocki Signed-off-by: Linus Walleij --- Reading git-diff-tree failed