From: Guenter Roeck <linux@roeck-us.net>
To: Wang Qing <wangqing@vivo.com>
Cc: Eric Tremblay <etremblay@distech-controls.com>,
Jean Delvare <jdelvare@suse.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: fix spelling typo in comments
Date: Tue, 29 Sep 2020 22:06:14 -0700 [thread overview]
Message-ID: <20200930050614.GA193574@roeck-us.net> (raw)
In-Reply-To: <1601086116-32218-1-git-send-email-wangqing@vivo.com>
On Sat, Sep 26, 2020 at 10:08:33AM +0800, Wang Qing wrote:
> Modify the comment typo: "compliment" -> "complement".
>
> Signed-off-by: Wang Qing <wangqing@vivo.com>
> ---
Applied, but in the future please list the affected driver in the
subject line.
Guenter
> drivers/hwmon/tmp513.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/tmp513.c b/drivers/hwmon/tmp513.c
> index 23908dc..c37d321
> --- 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));
prev parent reply other threads:[~2020-09-30 5:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-26 2:08 Wang Qing
2020-09-30 5:06 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200930050614.GA193574@roeck-us.net \
--to=linux@roeck-us.net \
--cc=etremblay@distech-controls.com \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wangqing@vivo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®