mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hwmon: (pmbus/ucd9200): fix typos in comments
@ 2022-06-22  6:32 Jiang Jian
  2022-06-29 21:03 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang Jian @ 2022-06-22  6:32 UTC (permalink / raw)
  To: linux, jdelvare; +Cc: linux-hwmon, linux-kernel, Jiang Jian

Drop the redundant word 'the' in the comments following
    /*
     * Set PHASE registers on all pages to 0xff to ensure that phase
     * specific commands will apply to all phases of a given page (rail).
     * This only affects the READ_IOUT and READ_TEMPERATURE2 registers.
     * READ_IOUT will return the sum of currents of all phases of a rail,
     * and READ_TEMPERATURE2 will return the maximum temperature detected
     * for the [the - DROP] phases of the rail.
     */

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/hwmon/pmbus/ucd9200.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/pmbus/ucd9200.c b/drivers/hwmon/pmbus/ucd9200.c
index 6bc3273e31e7..3ad375a76f3e 100644
--- a/drivers/hwmon/pmbus/ucd9200.c
+++ b/drivers/hwmon/pmbus/ucd9200.c
@@ -148,7 +148,7 @@ static int ucd9200_probe(struct i2c_client *client)
 	 * This only affects the READ_IOUT and READ_TEMPERATURE2 registers.
 	 * READ_IOUT will return the sum of currents of all phases of a rail,
 	 * and READ_TEMPERATURE2 will return the maximum temperature detected
-	 * for the the phases of the rail.
+	 * for the phases of the rail.
 	 */
 	for (i = 0; i < info->pages; i++) {
 		/*
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] hwmon: (pmbus/ucd9200): fix typos in comments
  2022-06-22  6:32 [PATCH] hwmon: (pmbus/ucd9200): fix typos in comments Jiang Jian
@ 2022-06-29 21:03 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-06-29 21:03 UTC (permalink / raw)
  To: Jiang Jian; +Cc: jdelvare, linux-hwmon, linux-kernel

On Wed, Jun 22, 2022 at 02:32:31PM +0800, Jiang Jian wrote:
> Drop the redundant word 'the' in the comments following
>     /*
>      * Set PHASE registers on all pages to 0xff to ensure that phase
>      * specific commands will apply to all phases of a given page (rail).
>      * This only affects the READ_IOUT and READ_TEMPERATURE2 registers.
>      * READ_IOUT will return the sum of currents of all phases of a rail,
>      * and READ_TEMPERATURE2 will return the maximum temperature detected
>      * for the [the - DROP] phases of the rail.
>      */
> 
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/pmbus/ucd9200.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwmon/pmbus/ucd9200.c b/drivers/hwmon/pmbus/ucd9200.c
> index 6bc3273e31e7..3ad375a76f3e 100644
> --- a/drivers/hwmon/pmbus/ucd9200.c
> +++ b/drivers/hwmon/pmbus/ucd9200.c
> @@ -148,7 +148,7 @@ static int ucd9200_probe(struct i2c_client *client)
>  	 * This only affects the READ_IOUT and READ_TEMPERATURE2 registers.
>  	 * READ_IOUT will return the sum of currents of all phases of a rail,
>  	 * and READ_TEMPERATURE2 will return the maximum temperature detected
> -	 * for the the phases of the rail.
> +	 * for the phases of the rail.
>  	 */
>  	for (i = 0; i < info->pages; i++) {
>  		/*

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-29 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22  6:32 [PATCH] hwmon: (pmbus/ucd9200): fix typos in comments Jiang Jian
2022-06-29 21:03 ` Guenter Roeck

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®