diff options
author | Wang Qing <wangqing@vivo.com> | 2020-09-26 10:08:33 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-10-04 08:40:10 -0700 |
commit | c073292b166a9a0d4d2df605fcbca1ed887aa307 (patch) | |
tree | fb4f6c070b29796bf7e20b2852f74697a1a71330 /drivers/hwmon/tmp513.c | |
parent | 045ad73397e68e6afefe7df0af804df5fc783fcb (diff) | |
download | lwn-c073292b166a9a0d4d2df605fcbca1ed887aa307.tar.gz lwn-c073292b166a9a0d4d2df605fcbca1ed887aa307.zip |
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>
Diffstat (limited to 'drivers/hwmon/tmp513.c')
-rw-r--r-- | drivers/hwmon/tmp513.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/tmp513.c b/drivers/hwmon/tmp513.c index 9187dac06ffd..47bbe47e062f 100644 --- a/drivers/hwmon/tmp513.c +++ b/drivers/hwmon/tmp513.c @@ -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)); |