diff options
Diffstat (limited to 'src/soc/intel/skylake/thermal.c')
-rw-r--r-- | src/soc/intel/skylake/thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/thermal.c b/src/soc/intel/skylake/thermal.c index 936543c7bf..006f3ae5cd 100644 --- a/src/soc/intel/skylake/thermal.c +++ b/src/soc/intel/skylake/thermal.c @@ -66,7 +66,7 @@ static uint16_t pch_get_ltt_value(struct device *dev) uint16_t ltt_value; uint16_t trip_temp = DEFAULT_TRIP_TEMP; - config = dev->chip_info; + config = config_of(dev); if (config->pch_trip_temp) trip_temp = config->pch_trip_temp; |