projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
433f1f7
)
pwm: atmel-hlcdc: Drop trailing comma
author
Liao Chen
<liaochen4@huawei.com>
Sat, 31 Aug 2024 07:50:59 +0000
(07:50 +0000)
committer
Uwe Kleine-König
<ukleinek@kernel.org>
Mon, 16 Sep 2024 13:24:58 +0000
(15:24 +0200)
Drop the trailing comma in the terminator entry for the ID table to make
code robust against misrebases.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Link:
https://lore.kernel.org/r/20240831075059.790861-3-liaochen4@huawei.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/pwm-atmel-hlcdc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-atmel-hlcdc.c
b/drivers/pwm/pwm-atmel-hlcdc.c
index 02660bd811c4c6a3819ea7a25db72dce2c05966f..eb39955a6d771436fcf222a1fed70cdcc452134a 100644
(file)
--- a/
drivers/pwm/pwm-atmel-hlcdc.c
+++ b/
drivers/pwm/pwm-atmel-hlcdc.c
@@
-234,7
+234,7
@@
static const struct of_device_id atmel_hlcdc_dt_ids[] = {
.data = &atmel_hlcdc_pwm_sama5d3_errata,
},
{ .compatible = "microchip,sam9x60-hlcdc", },
- { /* sentinel */ }
,
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, atmel_hlcdc_dt_ids);
@@
-288,7
+288,7
@@
static void atmel_hlcdc_pwm_remove(struct platform_device *pdev)
static const struct of_device_id atmel_hlcdc_pwm_dt_ids[] = {
{ .compatible = "atmel,hlcdc-pwm" },
- { /* sentinel */ }
,
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, atmel_hlcdc_pwm_dt_ids);