Skip to content

Commit b92f5e4

Browse files
bijudassre
authored andcommitted
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 3dc4a29 commit b92f5e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/power/supply/bq24257_charger.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,15 +1136,15 @@ static const struct i2c_device_id bq24257_i2c_ids[] = {
11361136
{ "bq24250", (kernel_ulong_t)&bq24250_info },
11371137
{ "bq24251", (kernel_ulong_t)&bq24251_info },
11381138
{ "bq24257", (kernel_ulong_t)&bq24257_info },
1139-
{},
1139+
{}
11401140
};
11411141
MODULE_DEVICE_TABLE(i2c, bq24257_i2c_ids);
11421142

11431143
static const struct of_device_id bq24257_of_match[] __maybe_unused = {
11441144
{ .compatible = "ti,bq24250", &bq24250_info },
11451145
{ .compatible = "ti,bq24251", &bq24251_info },
11461146
{ .compatible = "ti,bq24257", &bq24257_info },
1147-
{ },
1147+
{}
11481148
};
11491149
MODULE_DEVICE_TABLE(of, bq24257_of_match);
11501150

@@ -1153,7 +1153,7 @@ static const struct acpi_device_id bq24257_acpi_match[] = {
11531153
{ "BQ242500", (kernel_ulong_t)&bq24250_info },
11541154
{ "BQ242510", (kernel_ulong_t)&bq24251_info },
11551155
{ "BQ242570", (kernel_ulong_t)&bq24257_info },
1156-
{},
1156+
{}
11571157
};
11581158
MODULE_DEVICE_TABLE(acpi, bq24257_acpi_match);
11591159
#endif

0 commit comments

Comments
 (0)