From: Jonathan Cameron <jic23@kernel.org>
To: Li peiyu <579lpy@gmail.com>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH] iio: pressure: fix some word spelling errors
Date: Sat, 21 Oct 2023 16:36:54 +0100 [thread overview]
Message-ID: <20231021163654.0e1ada88@jic23-huawei> (raw)
In-Reply-To: <20231021070903.6051-1-579lpy@gmail.com>
On Sat, 21 Oct 2023 15:09:03 +0800
Li peiyu <579lpy@gmail.com> wrote:
> They are appear to be spelling mistakes,
> drivers/iio/pressure/bmp280.h:413 endianess->endianness
> drivers/iio/pressure/bmp280-core.c:923 dregrees->degrees
> drivers/iio/pressure/bmp280-core.c:1388 reescale->rescale
> drivers/iio/pressure/bmp280-core.c:1415 reescale->rescale
>
> Signed-off-by: Li peiyu <579lpy@gmail.com>
Applied. Will initially be pushed out as the testing branch of iio.git
and I'll probably be rebasing that on 6.7-rc1 once available, before
pushing it out to get picked up by Linux next.
> ---
> drivers/iio/pressure/bmp280-core.c | 6 +++---
> drivers/iio/pressure/bmp280.h | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/iio/pressure/bmp280-core.c b/drivers/iio/pressure/bmp280-core.c
> index a2ef1373a274..4c493db7db96 100644
> --- a/drivers/iio/pressure/bmp280-core.c
> +++ b/drivers/iio/pressure/bmp280-core.c
> @@ -920,7 +920,7 @@ static int bmp380_cmd(struct bmp280_data *data, u8 cmd)
> }
>
> /*
> - * Returns temperature in Celsius dregrees, resolution is 0.01º C. Output value of
> + * Returns temperature in Celsius degrees, resolution is 0.01º C. Output value of
> * "5123" equals 51.2º C. t_fine carries fine temperature as global value.
> *
> * Taken from datasheet, Section Appendix 9, "Compensation formula" and repo
> @@ -1385,7 +1385,7 @@ static int bmp580_read_temp(struct bmp280_data *data, int *val, int *val2)
>
> /*
> * Temperature is returned in Celsius degrees in fractional
> - * form down 2^16. We reescale by x1000 to return milli Celsius
> + * form down 2^16. We rescale by x1000 to return milli Celsius
> * to respect IIO ABI.
> */
> *val = raw_temp * 1000;
> @@ -1412,7 +1412,7 @@ static int bmp580_read_press(struct bmp280_data *data, int *val, int *val2)
> }
> /*
> * Pressure is returned in Pascals in fractional form down 2^16.
> - * We reescale /1000 to convert to kilopascal to respect IIO ABI.
> + * We rescale /1000 to convert to kilopascal to respect IIO ABI.
> */
> *val = raw_press;
> *val2 = 64000; /* 2^6 * 1000 */
> diff --git a/drivers/iio/pressure/bmp280.h b/drivers/iio/pressure/bmp280.h
> index 5c0563ce7572..9d9f4ce2baa6 100644
> --- a/drivers/iio/pressure/bmp280.h
> +++ b/drivers/iio/pressure/bmp280.h
> @@ -410,7 +410,7 @@ struct bmp280_data {
> __le16 bmp280_cal_buf[BMP280_CONTIGUOUS_CALIB_REGS / 2];
> __be16 bmp180_cal_buf[BMP180_REG_CALIB_COUNT / 2];
> u8 bmp380_cal_buf[BMP380_CALIB_REG_COUNT];
> - /* Miscellaneous, endianess-aware data buffers */
> + /* Miscellaneous, endianness-aware data buffers */
> __le16 le16;
> __be16 be16;
> } __aligned(IIO_DMA_MINALIGN);
prev parent reply other threads:[~2023-10-21 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-21 7:09 [PATCH] iio: pressure: fix some word spelling errors Li peiyu
2023-10-21 15:36 ` Jonathan Cameron [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=20231021163654.0e1ada88@jic23-huawei \
--to=jic23@kernel.org \
--cc=579lpy@gmail.com \
--cc=linux-iio@vger.kernel.org \
/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