ACPI / PMIC: intel: initialize result to 0

Fixes compiler warning.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Felipe Balbi 2016-06-22 17:55:40 +03:00 committed by Rafael J. Wysocki
parent 0afa877a56
commit 730de199b3

View File

@ -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: