diff mbox series

power: supply: bq25980: Fix repetive bq25975 with bq25960

Message ID 20210122064052.40880-1-xinjian34324@163.com
State New
Headers show
Series power: supply: bq25980: Fix repetive bq25975 with bq25960 | expand

Commit Message

Jian Xin Jan. 22, 2021, 6:40 a.m. UTC
From: xinjian <xinjian@yulong.com>

The i2c_device_id bq25975 is repeated, and should be bq25960.

Signed-off-by: xinjian <xinjian@yulong.com>
---
 drivers/power/supply/bq25980_charger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sebastian Reichel Jan. 28, 2021, 12:33 a.m. UTC | #1
Hi,

On Fri, Jan 22, 2021 at 02:40:52PM +0800, xinjian wrote:
> From: xinjian <xinjian@yulong.com>

> 

> The i2c_device_id bq25975 is repeated, and should be bq25960.

> 

> Signed-off-by: xinjian <xinjian@yulong.com>

> ---

>  drivers/power/supply/bq25980_charger.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/power/supply/bq25980_charger.c b/drivers/power/supply/bq25980_charger.c

> index c936f311eb4f..530ff4025b31 100644

> --- a/drivers/power/supply/bq25980_charger.c

> +++ b/drivers/power/supply/bq25980_charger.c

> @@ -1285,7 +1285,7 @@ static int bq25980_probe(struct i2c_client *client,

>  static const struct i2c_device_id bq25980_i2c_ids[] = {

>  	{ "bq25980", BQ25980 },

>  	{ "bq25975", BQ25975 },

> -	{ "bq25975", BQ25975 },

> +	{ "bq25960", BQ25960 },

>  	{},

>  };

>  MODULE_DEVICE_TABLE(i2c, bq25980_i2c_ids);


Thanks, queued.

-- Sebastian
diff mbox series

Patch

diff --git a/drivers/power/supply/bq25980_charger.c b/drivers/power/supply/bq25980_charger.c
index c936f311eb4f..530ff4025b31 100644
--- a/drivers/power/supply/bq25980_charger.c
+++ b/drivers/power/supply/bq25980_charger.c
@@ -1285,7 +1285,7 @@  static int bq25980_probe(struct i2c_client *client,
 static const struct i2c_device_id bq25980_i2c_ids[] = {
 	{ "bq25980", BQ25980 },
 	{ "bq25975", BQ25975 },
-	{ "bq25975", BQ25975 },
+	{ "bq25960", BQ25960 },
 	{},
 };
 MODULE_DEVICE_TABLE(i2c, bq25980_i2c_ids);