diff mbox series

hwmon: (pmbus/ucd9200): fix typos in comments

Message ID 20220622063231.20612-1-jiangjian@cdjrlc.com (mailing list archive)
State Accepted
Headers show
Series hwmon: (pmbus/ucd9200): fix typos in comments | expand

Commit Message

Jiang Jian June 22, 2022, 6:32 a.m. UTC
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(-)

Comments

Guenter Roeck June 29, 2022, 9:03 p.m. UTC | #1
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++) {
>  		/*
diff mbox series

Patch

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++) {
 		/*