projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0afa877
)
ACPI / PMIC: intel: initialize result to 0
author
Felipe Balbi
<
[email protected]
>
Wed, 22 Jun 2016 14:55:40 +0000
(17:55 +0300)
committer
Rafael J. Wysocki
<
[email protected]
>
Mon, 27 Jun 2016 13:24:09 +0000
(15:24 +0200)
Fixes compiler warning.
Signed-off-by: Felipe Balbi <
[email protected]
>
Signed-off-by: Heikki Krogerus <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
drivers/acpi/pmic/intel_pmic.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/pmic/intel_pmic.c
b/drivers/acpi/pmic/intel_pmic.c
index e107e277e8b3a32556dcf058b86410c6518b6947..6585affc3e2624345e043b225d70044fd6649951 100644
(file)
--- a/
drivers/acpi/pmic/intel_pmic.c
+++ b/
drivers/acpi/pmic/intel_pmic.c
@@
-216,7
+216,7
@@
static acpi_status intel_pmic_regs_handler(u32 function,
void *handler_context, void *region_context)
{
struct intel_pmic_opregion *opregion = region_context;
- int result;
+ int result
= 0
;
switch (address) {
case 0: