projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86, intel-mid: Return proper error code from get_gpio_by_name()
[deliverable/linux.git]
/
arch
/
x86
/
platform
/
intel-mid
/
sfi.c
diff --git
a/arch/x86/platform/intel-mid/sfi.c
b/arch/x86/platform/intel-mid/sfi.c
index 1d5d20b088fa170a1a9d33f0407824d4dcb76d86..438306ebed0529f5a258876be4ef371242935dd3 100644
(file)
--- a/
arch/x86/platform/intel-mid/sfi.c
+++ b/
arch/x86/platform/intel-mid/sfi.c
@@
-224,7
+224,7
@@
int get_gpio_by_name(const char *name)
if (!strncmp(name, pentry->pin_name, SFI_NAME_LEN))
return pentry->pin_no;
}
- return -
1
;
+ return -
EINVAL
;
}
void __init intel_scu_device_register(struct platform_device *pdev)
This page took
0.082126 seconds
and
5
git commands to generate.