[PATCH net-next 02/33] can: c_can: Remove comma after sentinel-entry in match-table
From: Siddharth Vadapalli
Date: Fri Sep 04 2026 - 00:38:06 EST
Since sentinel is the last entry and we do not expect further entries
following it, remove the comma.
Signed-off-by: Siddharth Vadapalli <s-vadapalli@xxxxxx>
---
drivers/net/can/c_can/c_can_platform.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c
index 19c86b94a40e..75607b1afd2e 100644
--- a/drivers/net/can/c_can/c_can_platform.c
+++ b/drivers/net/can/c_can/c_can_platform.c
@@ -239,7 +239,7 @@ static const struct platform_device_id c_can_id_table[] = {
.name = "d_can",
.driver_data = (kernel_ulong_t)&d_can_drvdata,
},
- { /* sentinel */ },
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, c_can_id_table);
@@ -249,7 +249,7 @@ static const struct of_device_id c_can_of_table[] = {
{ .compatible = "ti,dra7-d_can", .data = &dra7_dcan_drvdata },
{ .compatible = "ti,am3352-d_can", .data = &am3352_dcan_drvdata },
{ .compatible = "ti,am4372-d_can", .data = &am3352_dcan_drvdata },
- { /* sentinel */ },
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, c_can_of_table);
--
2.51.1