power: supply: bq256xx: Some cleanups
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 2 Sep 2023 20:25:05 +0000 (21:25 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 12 Sep 2023 16:16:04 +0000 (18:16 +0200)
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/20230902202505.97609-3-biju.das.jz@bp.renesas.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq256xx_charger.c

index fda4286323eee6fea5dfa8539dc10cbdc18a2fc9..474201815a27fc959b654ea3c3cd7f6ac3201837 100644 (file)
@@ -1778,7 +1778,7 @@ static const struct i2c_device_id bq256xx_i2c_ids[] = {
        { "bq25611d", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25611D] },
        { "bq25618", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25618] },
        { "bq25619", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25619] },
-       {},
+       {}
 };
 MODULE_DEVICE_TABLE(i2c, bq256xx_i2c_ids);
 
@@ -1790,7 +1790,7 @@ static const struct of_device_id bq256xx_of_match[] = {
        { .compatible = "ti,bq25611d", .data = &bq256xx_chip_info_tbl[BQ25611D] },
        { .compatible = "ti,bq25618", .data = &bq256xx_chip_info_tbl[BQ25618] },
        { .compatible = "ti,bq25619", .data = &bq256xx_chip_info_tbl[BQ25619] },
-       { },
+       {}
 };
 MODULE_DEVICE_TABLE(of, bq256xx_of_match);
 
@@ -1802,7 +1802,7 @@ static const struct acpi_device_id bq256xx_acpi_match[] = {
        { "bq25611d", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25611D] },
        { "bq25618", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25618] },
        { "bq25619", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25619] },
-       {},
+       {}
 };
 MODULE_DEVICE_TABLE(acpi, bq256xx_acpi_match);