Skip to content
Commit 52893d5f authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Carles Cufí
Browse files

drivers: sensor: stm32_temp: use the ADC reference voltage



The stm32_temp driver defines the ts-voltage-mv property to determine
the reference voltage of the ADC in the temperature computation. However
this information is already available in the device tree at the ADC
level (even with the same default value). Use it through the ADC API
instead of duplicating the information.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent b6527799
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment