mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 10:56:14 +00: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
@ -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…
x
Reference in New Issue
Block a user