This patch series aims to add match data improvements for bq24257_charger
driver.
This patch series is only compile tested.
Biju Das (2):
power: supply: bq24257_charger: Make chip type and name in sync
power: supply: bq24257_charger: Some cleanups
drivers/power/supply/bq24257_charger.c | 76 +++++++++++++-------------
1 file changed, 38 insertions(+), 38 deletions(-)
--
2.25.1
Some cleanups:
* Remove trailing comma in the terminator entry for OF/ID/ACPI table.
* Drop a space from terminator entry for OF table.
Signed-off-by: Biju Das <[email protected]>
---
drivers/power/supply/bq24257_charger.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/power/supply/bq24257_charger.c b/drivers/power/supply/bq24257_charger.c
index 188812f4a79b..801d0d2c5f2e 100644
--- a/drivers/power/supply/bq24257_charger.c
+++ b/drivers/power/supply/bq24257_charger.c
@@ -1136,7 +1136,7 @@ static const struct i2c_device_id bq24257_i2c_ids[] = {
{ "bq24250", (kernel_ulong_t)&bq24250_info },
{ "bq24251", (kernel_ulong_t)&bq24251_info },
{ "bq24257", (kernel_ulong_t)&bq24257_info },
- {},
+ {}
};
MODULE_DEVICE_TABLE(i2c, bq24257_i2c_ids);
@@ -1144,7 +1144,7 @@ static const struct of_device_id bq24257_of_match[] __maybe_unused = {
{ .compatible = "ti,bq24250", &bq24250_info },
{ .compatible = "ti,bq24251", &bq24251_info },
{ .compatible = "ti,bq24257", &bq24257_info },
- { },
+ {}
};
MODULE_DEVICE_TABLE(of, bq24257_of_match);
@@ -1153,7 +1153,7 @@ static const struct acpi_device_id bq24257_acpi_match[] = {
{ "BQ242500", (kernel_ulong_t)&bq24250_info },
{ "BQ242510", (kernel_ulong_t)&bq24251_info },
{ "BQ242570", (kernel_ulong_t)&bq24257_info },
- {},
+ {}
};
MODULE_DEVICE_TABLE(acpi, bq24257_acpi_match);
#endif
--
2.25.1
On Sat, Sep 02, 2023 at 08:33:31PM +0100, Biju Das wrote:
> Some cleanups:
> * Remove trailing comma in the terminator entry for OF/ID/ACPI table.
> * Drop a space from terminator entry for OF table.
Reviewed-by: Andy Shevchenko <[email protected]>
--
With Best Regards,
Andy Shevchenko
On Sat, 02 Sep 2023 20:33:29 +0100, Biju Das wrote:
> This patch series aims to add match data improvements for bq24257_charger
> driver.
>
> This patch series is only compile tested.
>
> Biju Das (2):
> power: supply: bq24257_charger: Make chip type and name in sync
> power: supply: bq24257_charger: Some cleanups
>
> [...]
Applied, thanks!
[1/2] power: supply: bq24257_charger: Make chip type and name in sync
commit: 3dc4a291a1b156d3ee9a78672ec950601bd68c1c
[2/2] power: supply: bq24257_charger: Some cleanups
commit: b92f5e4fccc2ca96241904bb1a4e96547b69163d
Best regards,
--
Sebastian Reichel <[email protected]>