Skip to content
Commit 02af7919 authored by Liwei Song's avatar Liwei Song Committed by Bruce Ashfield
Browse files

ACPI: thermal: remove unused tz_enabled fragment



This fix the following compile error:

drivers/acpi/thermal.c:1063:9: error: 'struct acpi_thermal' has no member named 'tz_enabled'
[11:19:48-0800]  1063 |  if (!tz->tz_enabled)
[11:19:48-0800]       |         ^~

The build error was imported by the backported upstream commit:
11084836 ("ACPI: thermal: Do not call acpi_thermal_check() directly")
a wrong adjustment when apply this patch that import the deleted struct
member tz_enabled, remove it to make it the same with upstream to fix the
error.

Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 019945fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment