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

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>

authored by

Biju Das and committed by
Sebastian Reichel
b92f5e4f 3dc4a291

+3 -3
+3 -3
drivers/power/supply/bq24257_charger.c
··· 1136 1136 { "bq24250", (kernel_ulong_t)&bq24250_info }, 1137 1137 { "bq24251", (kernel_ulong_t)&bq24251_info }, 1138 1138 { "bq24257", (kernel_ulong_t)&bq24257_info }, 1139 - {}, 1139 + {} 1140 1140 }; 1141 1141 MODULE_DEVICE_TABLE(i2c, bq24257_i2c_ids); 1142 1142 ··· 1144 1144 { .compatible = "ti,bq24250", &bq24250_info }, 1145 1145 { .compatible = "ti,bq24251", &bq24251_info }, 1146 1146 { .compatible = "ti,bq24257", &bq24257_info }, 1147 - { }, 1147 + {} 1148 1148 }; 1149 1149 MODULE_DEVICE_TABLE(of, bq24257_of_match); 1150 1150 ··· 1153 1153 { "BQ242500", (kernel_ulong_t)&bq24250_info }, 1154 1154 { "BQ242510", (kernel_ulong_t)&bq24251_info }, 1155 1155 { "BQ242570", (kernel_ulong_t)&bq24257_info }, 1156 - {}, 1156 + {} 1157 1157 }; 1158 1158 MODULE_DEVICE_TABLE(acpi, bq24257_acpi_match); 1159 1159 #endif