summaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-09 22:27:18 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-10 21:02:17 +0200
commitb429b6ffbdc976d22bdf0b5ba9183c8466209cba (patch)
treef72a67076cf0d05899d30fa54038dd2b8afd15bd /scripts/rustdoc_test_builder.rs
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 <rafael.j.wysocki@intel.com> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions