From: Rohit Vaswani Date: Thu, 18 Jul 2013 20:07:14 +0000 (-0700) Subject: drivers: gpio: msm: Fix the error condition for reading ngpio X-Git-Tag: v3.11-rc3~31^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afe8ce9b29c487ea7f62faa936b6abb84e0b8815;p=pandora-kernel.git drivers: gpio: msm: Fix the error condition for reading ngpio of_property_read_u32 return 0 on success. The check was using a ! to return error. Fix the if condition. Signed-off-by: Rohit Vaswani Acked-by: Linus Walleij Reviewed-by: Pankaj Jangra Cc: "Bird, Tim" Signed-off-by: David Brown Signed-off-by: Linus Walleij --- Reading git-diff-tree failed