Attention is currently required from: Patrick Rudolph. Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59390 )
Change subject: soc/intel/../thermal: Drop unused `dev` variable in pch_get_ltt_value() ......................................................................
soc/intel/../thermal: Drop unused `dev` variable in pch_get_ltt_value()
`struct device *dev` as part of the pch_get_ltt_value() argument is being used hence, replaced with `void`.
BUG=b:193774296
Change-Id: Iecdf6f6c3023f896a27e212d7c59b2030a3fd116 Signed-off-by: Subrata Banik subrata.banik@intel.com --- M src/soc/intel/common/block/thermal/thermal.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/59390/1
diff --git a/src/soc/intel/common/block/thermal/thermal.c b/src/soc/intel/common/block/thermal/thermal.c index 11a6108..d6e401e 100644 --- a/src/soc/intel/common/block/thermal/thermal.c +++ b/src/soc/intel/common/block/thermal/thermal.c @@ -23,7 +23,7 @@ }
/* 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 @@ 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); }