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:
parent
0afa877a56
commit
730de199b3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue