* [PATCH] power: supply: bq25980: Fix repetive bq25975 with bq25960
@ 2021-01-22 6:40 xinjian
2021-01-28 0:33 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: xinjian @ 2021-01-22 6:40 UTC (permalink / raw)
To: sre; +Cc: linux-pm, linux-kernel, xinjian
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);
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: supply: bq25980: Fix repetive bq25975 with bq25960
2021-01-22 6:40 [PATCH] power: supply: bq25980: Fix repetive bq25975 with bq25960 xinjian
@ 2021-01-28 0:33 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2021-01-28 0:33 UTC (permalink / raw)
To: xinjian; +Cc: linux-pm, linux-kernel, xinjian
[-- Attachment #1: Type: text/plain, Size: 920 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-28 0:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-22 6:40 [PATCH] power: supply: bq25980: Fix repetive bq25975 with bq25960 xinjian
2021-01-28 0:33 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).