mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue