From: Alexandre Courbot Date: Sun, 20 Oct 2013 22:14:57 +0000 (-0700) Subject: gpiolib: devres: fix devm_gpiod_get_index() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~12^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fcdb9dc98e76001060bb89e3b1269384f9f5201;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed