From: David Cohen Date: Thu, 16 Jan 2014 23:07:03 +0000 (-0800) Subject: x86, intel-mid: Check get_gpio_by_name() error code on platform code X-Git-Tag: v3.14-rc1~162^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a957a14bb4ca976cbaaff3594ef5b8f8f7f65804;p=pandora-kernel.git x86, intel-mid: Check get_gpio_by_name() error code on platform code This patch does cleanup on all intel mid platform code that uses gpio_get_by_name() function. From now on they should check for any error code instead of only hardcoded -1. There are no functional changes from this change. Signed-off-by: David Cohen Link: http://lkml.kernel.org/r/1389913624-9149-3-git-send-email-david.a.cohen@linux.intel.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed