summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-09-02 23:05:18 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-09-13 00:44:06 +0300
commitab907d99d5d4e40ba638b6a27940d59fcb2ad24d (patch)
tree5e26bac9147adc82aa9053d8136e3e93c8257f77 /drivers/power
parentef2730fb8122ff90747ee79261c2a9fd35032e17 (diff)
downloadlinux-ab907d99d5d4e40ba638b6a27940d59fcb2ad24d.tar.xz
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/bq2515x_charger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/supply/bq2515x_charger.c b/drivers/power/supply/bq2515x_charger.c
index ada4532fda45..49fa6386a509 100644
--- a/drivers/power/supply/bq2515x_charger.c
+++ b/drivers/power/supply/bq2515x_charger.c
@@ -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);