Commit 4530d81
thermal: trip: Split thermal_zone_device_set_mode()
[ Upstream commit e5f9889 ]
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.net
Stable-dep-of: f7c1b0e ("thermal: core: Back off when polling thermal zones on errors")
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent d5fe884 commit 4530d81
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 | | |
| |||
537 | 553 | | |
538 | 554 | | |
539 | 555 | | |
540 | | - | |
| 556 | + | |
541 | 557 | | |
542 | 558 | | |
543 | 559 | | |
544 | 560 | | |
545 | 561 | | |
546 | 562 | | |
547 | 563 | | |
548 | | - | |
| 564 | + | |
549 | 565 | | |
550 | 566 | | |
551 | | - | |
552 | | - | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
553 | 570 | | |
554 | | - | |
555 | | - | |
| 571 | + | |
| 572 | + | |
556 | 573 | | |
557 | 574 | | |
558 | 575 | | |
| |||
563 | 580 | | |
564 | 581 | | |
565 | 582 | | |
566 | | - | |
| 583 | + | |
567 | 584 | | |
568 | 585 | | |
569 | 586 | | |
| |||
0 commit comments