soc/intel/common/thermal: Drop unused parameter of pch_get_ltt_value()

`struct device *dev` as part of the pch_get_ltt_value() argument is
being used hence, replace with `void`.

BUG=b:193774296

Change-Id: Iecdf6f6c3023f896a27e212d7c59b2030a3fd116
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59390
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2021-11-17 15:12:27 +05:30
parent 31605959a5
commit c8193ce587
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ static uint8_t get_thermal_trip_temp(void)
}
/* PCH Low Temp Threshold (LTT) */
static uint32_t pch_get_ltt_value(struct device *dev)
static uint32_t pch_get_ltt_value(void)
{
uint8_t thermal_config;
@ -68,6 +68,6 @@ void pch_thermal_configuration(void)
reg16 = read16((uint16_t *)thermalbar_pm);
reg16 &= ~CATASTROPHIC_TRIP_POINT_MASK;
/* Low Temp Threshold (LTT) */
reg16 |= pch_get_ltt_value(dev);
reg16 |= pch_get_ltt_value();
write16((uint16_t *)thermalbar_pm, reg16);
}