]> git.baikalelectronics.ru Git - kernel.git/commit
x86, intel-mid: Return proper error code from get_gpio_by_name()
authorDavid Cohen <david.a.cohen@linux.intel.com>
Thu, 16 Jan 2014 23:07:04 +0000 (15:07 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 16 Jan 2014 23:07:36 +0000 (15:07 -0800)
commit2d1d3bf1aece33d8f0bc1984e7d805b70ee7fd65
tree0d502e46e6cbb839f4825f817711b5a49c753822
parent9eda3de9b29c74c180a50488cf4f5118fefd14be
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>
arch/x86/platform/intel-mid/sfi.c