Commit af73d53
committed
thermal: core: Separate thermal zone governor initialization
In preparation for a subsequent change that will switch over the thermal
core to using a mutex guard for managing thermal_governor_lock, move
the code running in thermal_zone_device_register_with_trips() under that
lock into a separate function called thermal_zone_init_governor().
While at it, drop a useless comment.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Lukasz Luba <[email protected]>1 parent a5a98a7 commit af73d53
1 file changed
+21
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1345 | 1345 | | |
1346 | 1346 | | |
1347 | 1347 | | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
1348 | 1367 | | |
1349 | 1368 | | |
1350 | 1369 | | |
| |||
1409 | 1428 | | |
1410 | 1429 | | |
1411 | 1430 | | |
1412 | | - | |
1413 | 1431 | | |
1414 | 1432 | | |
1415 | 1433 | | |
| |||
1507 | 1525 | | |
1508 | 1526 | | |
1509 | 1527 | | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
1513 | | - | |
1514 | | - | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
| 1528 | + | |
| 1529 | + | |
1521 | 1530 | | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
1525 | 1531 | | |
1526 | 1532 | | |
1527 | 1533 | | |
| |||
0 commit comments