gpiolib: fix lookup of platform-mapped GPIOs
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 23 Nov 2013 05:55:52 +0000 (14:55 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 12:10:48 +0000 (13:10 +0100)
commit7cc67b9c74d9728ba6cbf868d7bcd2cc24de0880
treecfcbcfebe0e303d2a23bd32800b87bf3380b0a87
parentc9a9972b6f093e4e2f81f58892a7523df894144d
gpiolib: fix lookup of platform-mapped GPIOs

A typo resulted in GPIO lookup failing unconditionally.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reported-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c