diff options
| author | Rafael J. Wysocki <[email protected]> | 2023-08-10 19:09:54 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-08-11 16:44:44 +0000 |
| commit | 4f16443596f4d3dcf0474f8c753219bd6b9470f2 (patch) | |
| tree | 8aefb3cf7771203a8dadd16758352dd2ed536585 /rust/helpers.c | |
| parent | thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition (diff) | |
| download | kernel-4f16443596f4d3dcf0474f8c753219bd6b9470f2.tar.gz kernel-4f16443596f4d3dcf0474f8c753219bd6b9470f2.zip | |
thermal: intel: intel_soc_dts_iosf: Always assume notification support
None of the existing callers of intel_soc_dts_iosf_init() passes
INTEL_SOC_DTS_INTERRUPT_NONE as the first argument to it, so the
notification local variable in it is always true and the
notification_support argument of add_dts_thermal_zone() is always
true either.
For this reason, drop the notification local variable from
intel_soc_dts_iosf_init() and the notification_support argument from
add_dts_thermal_zone() and rearrange the latter to always set
writable_trip_cnt and trip_mask.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Srinivas Pandruvada <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
