thermal: intel: intel_soc_dts_iosf: Always assume notification support
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Aug 2023 19:09:54 +0000 (21:09 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Aug 2023 16:44:44 +0000 (18:44 +0200)
commit4f16443596f4d3dcf0474f8c753219bd6b9470f2
tree8aefb3cf7771203a8dadd16758352dd2ed536585
parenta39524aca314a93100cafa49f0a0cf0508a00d1e
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 <rafael.j.wysocki@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/thermal/intel/intel_soc_dts_iosf.c