From: Felipe Balbi Date: Wed, 22 Jun 2016 14:55:40 +0000 (+0300) Subject: ACPI / PMIC: intel: initialize result to 0 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=730de199b389e83da8d3935f82e78e30b9876b56;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ACPI / PMIC: intel: initialize result to 0 Fixes compiler warning. Signed-off-by: Felipe Balbi Signed-off-by: Heikki Krogerus Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/pmic/intel_pmic.c b/drivers/acpi/pmic/intel_pmic.c index e107e277e8b3..6585affc3e26 100644 --- 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: