[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230902200518.91585-3-biju.das.jz@bp.renesas.com>
Date: Sat, 2 Sep 2023 21:05:18 +0100
From: Biju Das <biju.das.jz@...renesas.com>
To: Sebastian Reichel <sre@...nel.org>
Cc: Biju Das <biju.das.jz@...renesas.com>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, Biju Das <biju.das.au@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH 2/2] power: supply: bq2515x: Some cleanups
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@...renesas.com>
---
drivers/power/supply/bq2515x_charger.c | 4 ++--
1 file 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);
--
2.25.1
Powered by blists - more mailing lists