[PATCH] hwmon: (pmbus/ucd9200): fix typos in comments

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/hwmon/pmbus/ucd9200.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] hwmon: (pmbus/ucd9200): fix typos in comments
Posted by Jiang Jian 3 years, 10 months ago
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
Re: [PATCH] hwmon: (pmbus/ucd9200): fix typos in comments
Posted by Guenter Roeck 3 years, 10 months ago
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++) {
>  		/*