From: Linus Walleij Date: Tue, 20 Nov 2012 13:56:25 +0000 (+0100) Subject: gpiolib: return any error code from range creation X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~94^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f23ca1a73a096f21e6618d8e23df613daa5e532;p=pandora-kernel.git gpiolib: return any error code from range creation If we try to create a range for a certain GPIO chip and the target pin controller is not yet available it may return a probe deferral error code, so handle this all the way our by checking the error code. Reviewed-by: Stephen Warren Reviewed-by: Viresh Kumar Signed-off-by: Linus Walleij --- Reading git-diff-tree failed