Commit c073292b authored by Wang Qing's avatar Wang Qing Committed by Guenter Roeck

hwmon: (tmp513) fix spelling typo in comments

Modify the comment typo: "compliment" -> "complement".
Signed-off-by: default avatarWang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1601086116-32218-1-git-send-email-wangqing@vivo.comSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 045ad733
......@@ -192,7 +192,7 @@ static int tmp51x_get_value(struct tmp51x_data *data, u8 reg, u8 pos,
/*
* The valus is read in voltage in the chip but reported as
* current to the user.
* 2's compliment number shifted by one to four depending
* 2's complement number shifted by one to four depending
* on the pga gain setting. 1lsb = 10uV
*/
*val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment