thermal: gov_step_wise: Simplify checks related to passive trips
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Apr 2024 18:12:02 +0000 (20:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Apr 2024 13:57:50 +0000 (15:57 +0200)
commit053b852c46626250b5f7da43ba8574da756db022
treea56820f69695bb11c70ef9cdc6d2c435498e5694
parentf1164d333cc3c063cfdf7d03ddbca4f93a5a5c41
thermal: gov_step_wise: Simplify checks related to passive trips

Make it more clear from the code flow that the passive polling status
updates only take place for passive trip points.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
drivers/thermal/gov_step_wise.c