Commit c31b3a1
committed
ACPI: thermal: Drop struct acpi_thermal_flags
Drop struct acpi_thermal_flags which is not really used (only one
flag in it is ever set, but it is never read) and call
acpi_execute_simple_method() directly to evaluate _SCP instead of
using acpi_thermal_set_cooling_mode(), which has no callers after
that change, so drop it.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>1 parent f75fbe2 commit c31b3a1
1 file changed
Lines changed: 2 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 132 | | |
139 | 133 | | |
140 | 134 | | |
141 | 135 | | |
142 | 136 | | |
143 | 137 | | |
144 | 138 | | |
145 | | - | |
146 | 139 | | |
147 | 140 | | |
148 | 141 | | |
| |||
197 | 190 | | |
198 | 191 | | |
199 | 192 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 193 | | |
213 | 194 | | |
214 | 195 | | |
| |||
926 | 907 | | |
927 | 908 | | |
928 | 909 | | |
929 | | - | |
930 | | - | |
931 | | - | |
| 910 | + | |
| 911 | + | |
932 | 912 | | |
933 | 913 | | |
934 | 914 | | |
| |||
0 commit comments