Commit e5f9889
committed
thermal: trip: Split thermal_zone_device_set_mode()
Pull a wrapper around thermal zone .change_mode() callback out of
thermal_zone_device_set_mode() because it will be used elsewhere
subsequently.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2206793.irdbgypaU6@rjwysocki.net1 parent 539fbb9 commit e5f9889
1 file changed
Lines changed: 24 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
275 | 291 | | |
276 | 292 | | |
277 | 293 | | |
| |||
540 | 556 | | |
541 | 557 | | |
542 | 558 | | |
543 | | - | |
| 559 | + | |
544 | 560 | | |
545 | 561 | | |
546 | 562 | | |
547 | 563 | | |
548 | 564 | | |
549 | 565 | | |
550 | 566 | | |
551 | | - | |
| 567 | + | |
552 | 568 | | |
553 | 569 | | |
554 | | - | |
555 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
556 | 573 | | |
557 | | - | |
558 | | - | |
| 574 | + | |
| 575 | + | |
559 | 576 | | |
560 | 577 | | |
561 | 578 | | |
| |||
566 | 583 | | |
567 | 584 | | |
568 | 585 | | |
569 | | - | |
| 586 | + | |
570 | 587 | | |
571 | 588 | | |
572 | 589 | | |
| |||
0 commit comments