mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
power: supply: bq24257_charger: Cleanup OF/ID table terminators
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 <biju.das.jz@bp.renesas.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230902193331.83672-3-biju.das.jz@bp.renesas.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
3dc4a291a1
commit
b92f5e4fcc
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue