Skip to content

Commit

Permalink
ACPI / PMIC: intel: initialize result to 0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi authored and Rafael J. Wysocki committed Jun 27, 2016
1 parent 0afa877 commit 730de19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/pmic/intel_pmic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 730de19

Please sign in to comment.