diff options
author | David Cohen <david.a.cohen@linux.intel.com> | 2014-01-17 03:07:03 +0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-01-17 03:06:58 +0400 |
commit | a957a14bb4ca976cbaaff3594ef5b8f8f7f65804 (patch) | |
tree | 82130484558a2d76ab139d90df04375742a170d0 /lib | |
parent | acb20d7395f75b0fdb5b300f9fb3b9c6054fb04f (diff) | |
download | linux-a957a14bb4ca976cbaaff3594ef5b8f8f7f65804.tar.xz |
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 <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1389913624-9149-3-git-send-email-david.a.cohen@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions