On Wednesday, June 22, 2016 05:55:40 PM Heikki Krogerus wrote:
> From: Felipe Balbi <[email protected]>
> 
> Fixes compiler warning.
> 
> Signed-off-by: Felipe Balbi <[email protected]>
> Signed-off-by: Heikki Krogerus <[email protected]>
> ---
>  drivers/acpi/pmic/intel_pmic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/pmic/intel_pmic.c b/drivers/acpi/pmic/intel_pmic.c
> index 3a3d416..1742718 100644
> --- a/drivers/acpi/pmic/intel_pmic.c
> +++ b/drivers/acpi/pmic/intel_pmic.c
> @@ -215,7 +215,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:

Applied, thanks!

Reply via email to