mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
thermal: armada: fix formula documentation comment
The formula implementation at armada_get_temp() indicates that the sign in the formula is inverted. Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
This commit is contained in:
parent
1fba81cc09
commit
0cf3a1ac3e
@ -58,7 +58,7 @@ struct armada_thermal_data {
|
||||
/* Test for a valid sensor value (optional) */
|
||||
bool (*is_valid)(struct armada_thermal_priv *);
|
||||
|
||||
/* Formula coeficients: temp = (b + m * reg) / div */
|
||||
/* Formula coeficients: temp = (b - m * reg) / div */
|
||||
unsigned long coef_b;
|
||||
unsigned long coef_m;
|
||||
unsigned long coef_div;
|
||||
|
Loading…
Reference in New Issue
Block a user