mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 21:14:28 +00:00
hwmon: (ad7414) Fix multi-line comments
Cc: Stefan Roese <sr@denx.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
5d577dba04
commit
8deeac82b3
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ struct ad7414_data {
|
||||||
/* REG: (0.25C/bit, two's complement) << 6 */
|
/* REG: (0.25C/bit, two's complement) << 6 */
|
||||||
static inline int ad7414_temp_from_reg(s16 reg)
|
static inline int ad7414_temp_from_reg(s16 reg)
|
||||||
{
|
{
|
||||||
/* use integer division instead of equivalent right shift to
|
/*
|
||||||
|
* use integer division instead of equivalent right shift to
|
||||||
* guarantee arithmetic shift and preserve the sign
|
* guarantee arithmetic shift and preserve the sign
|
||||||
*/
|
*/
|
||||||
return ((int)reg / 64) * 250;
|
return ((int)reg / 64) * 250;
|
||||||
|
|
Loading…
Add table
Reference in a new issue