power: supply: bq2515x: Cleanup OF/ID table terminators
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 2 Sep 2023 20:05:18 +0000 (21:05 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 12 Sep 2023 21:44:06 +0000 (23:44 +0200)
Some cleanups:
 * Remove trailing comma in the terminator entry for OF/ID 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/20230902200518.91585-3-biju.das.jz@bp.renesas.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq2515x_charger.c

index ada4532..49fa638 100644 (file)
@@ -1139,14 +1139,14 @@ static const struct bq2515x_info bq25155 = {
 static const struct i2c_device_id bq2515x_i2c_ids[] = {
        { "bq25150", (kernel_ulong_t)&bq25150 },
        { "bq25155", (kernel_ulong_t)&bq25155 },
-       {},
+       {}
 };
 MODULE_DEVICE_TABLE(i2c, bq2515x_i2c_ids);
 
 static const struct of_device_id bq2515x_of_match[] = {
        { .compatible = "ti,bq25150", .data = &bq25150 },
        { .compatible = "ti,bq25155", .data = &bq25155 },
-       { },
+       {}
 };
 MODULE_DEVICE_TABLE(of, bq2515x_of_match);