summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/bq25980_charger.c
diff options
context:
space:
mode:
authorxinjian <xinjian@yulong.com>2021-01-22 07:40:52 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-01-25 00:58:17 +0100
commit79bcb02b20ff308b1ccbf9617d1af890e5b58e12 (patch)
tree9a97e3481b29aad3f0b72963d4856f7877b56aec /drivers/power/supply/bq25980_charger.c
parentpower: supply: smb347-charger: Fix interrupt usage if interrupt is unavailable (diff)
downloadlinux-79bcb02b20ff308b1ccbf9617d1af890e5b58e12.tar.xz
linux-79bcb02b20ff308b1ccbf9617d1af890e5b58e12.zip
power: supply: bq25980: Fix repetive bq25975 with bq25960
The i2c_device_id bq25975 is repeated, and should be bq25960. Signed-off-by: xinjian <xinjian@yulong.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/bq25980_charger.c')
-rw-r--r--drivers/power/supply/bq25980_charger.c2
1 files changed, 1 insertions, 1 deletions
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);