Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: supply: bq256xx: Some cleanups

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>

authored by

Biju Das and committed by
Sebastian Reichel
02e673e5 f2899290

+3 -3
+3 -3
drivers/power/supply/bq256xx_charger.c
··· 1778 1778 { "bq25611d", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25611D] }, 1779 1779 { "bq25618", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25618] }, 1780 1780 { "bq25619", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25619] }, 1781 - {}, 1781 + {} 1782 1782 }; 1783 1783 MODULE_DEVICE_TABLE(i2c, bq256xx_i2c_ids); 1784 1784 ··· 1790 1790 { .compatible = "ti,bq25611d", .data = &bq256xx_chip_info_tbl[BQ25611D] }, 1791 1791 { .compatible = "ti,bq25618", .data = &bq256xx_chip_info_tbl[BQ25618] }, 1792 1792 { .compatible = "ti,bq25619", .data = &bq256xx_chip_info_tbl[BQ25619] }, 1793 - { }, 1793 + {} 1794 1794 }; 1795 1795 MODULE_DEVICE_TABLE(of, bq256xx_of_match); 1796 1796 ··· 1802 1802 { "bq25611d", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25611D] }, 1803 1803 { "bq25618", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25618] }, 1804 1804 { "bq25619", (kernel_ulong_t)&bq256xx_chip_info_tbl[BQ25619] }, 1805 - {}, 1805 + {} 1806 1806 }; 1807 1807 MODULE_DEVICE_TABLE(acpi, bq256xx_acpi_match); 1808 1808