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

power: supply: bq2515x: Cleanup OF/ID table terminators

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>

authored by

Biju Das and committed by
Sebastian Reichel
ab907d99 ef2730fb

+2 -2
+2 -2
drivers/power/supply/bq2515x_charger.c
··· 1139 1139 static const struct i2c_device_id bq2515x_i2c_ids[] = { 1140 1140 { "bq25150", (kernel_ulong_t)&bq25150 }, 1141 1141 { "bq25155", (kernel_ulong_t)&bq25155 }, 1142 - {}, 1142 + {} 1143 1143 }; 1144 1144 MODULE_DEVICE_TABLE(i2c, bq2515x_i2c_ids); 1145 1145 1146 1146 static const struct of_device_id bq2515x_of_match[] = { 1147 1147 { .compatible = "ti,bq25150", .data = &bq25150 }, 1148 1148 { .compatible = "ti,bq25155", .data = &bq25155 }, 1149 - { }, 1149 + {} 1150 1150 }; 1151 1151 MODULE_DEVICE_TABLE(of, bq2515x_of_match); 1152 1152