Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (tmp513) fix spelling typo in comments

Modify the comment typo: "compliment" -> "complement".

Signed-off-by: Wang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1601086116-32218-1-git-send-email-wangqing@vivo.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Wang Qing and committed by
Guenter Roeck
c073292b 045ad733

+1 -1
+1 -1
drivers/hwmon/tmp513.c
··· 192 192 /* 193 193 * The valus is read in voltage in the chip but reported as 194 194 * current to the user. 195 - * 2's compliment number shifted by one to four depending 195 + * 2's complement number shifted by one to four depending 196 196 * on the pga gain setting. 1lsb = 10uV 197 197 */ 198 198 *val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data));