commit | 28c6a39b3367f29462cd586785dc445cd6b5ac23 | [log] [tgz] |
---|---|---|
author | David Cohen <david.a.cohen@linux.intel.com> | Thu Jan 16 15:07:04 2014 -0800 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Thu Jan 16 15:07:36 2014 -0800 |
tree | 0d502e46e6cbb839f4825f817711b5a49c753822 | |
parent | a957a14bb4ca976cbaaff3594ef5b8f8f7f65804 [diff] |
x86, intel-mid: Return proper error code from get_gpio_by_name() This patch cleans up get_gpio_by_name() to return an error code instead of hardcoded -1. Signed-off-by: David Cohen <david.a.cohen@linux.intel.com> Link: http://lkml.kernel.org/r/1389913624-9149-4-git-send-email-david.a.cohen@linux.intel.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>