aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-08-09 22:27:18 +0200
committerRafael J. Wysocki <[email protected]>2023-08-10 21:02:17 +0200
commitb429b6ffbdc976d22bdf0b5ba9183c8466209cba (patch)
treef72a67076cf0d05899d30fa54038dd2b8afd15bd /lib/crypto/mpi/mpi-sub-ui.c
parente49c8ed8e0ec29d3ae8cb6342cad147d9738bfbe (diff)
thermal: intel: intel_soc_dts_iosf: Always use 2 trips
Both the existing callers of intel_soc_dts_iosf_init() pass 2 as the trip count argument, so it can be replaced with SOC_MAX_DTS_TRIPS everywhere in the code and the trip_count argument of that function can be dropped. This also allows the trip_count field to be dropped from struct intel_soc_dts_sensor_entry, as it is always equal to 2, and some related code can be simplified. Make changes accordingly. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Srinivas Pandruvada <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions