projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512d895
)
regulator: sy7636a: Add terminating entry for platform_device_id table
author
Axel Lin
<axel.lin@ingics.com>
Wed, 16 Jun 2021 03:44:56 +0000
(11:44 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 16 Jun 2021 14:41:17 +0000
(15:41 +0100)
The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link:
https://lore.kernel.org/r/20210616034458.3499522-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/sy7636a-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/sy7636a-regulator.c
b/drivers/regulator/sy7636a-regulator.c
index c384c2b6ac46a2853d3f881561580f2b0b0d200d..54ab1be1001ee05b1390740562c9864595a402d8 100644
(file)
--- a/
drivers/regulator/sy7636a-regulator.c
+++ b/
drivers/regulator/sy7636a-regulator.c
@@
-110,6
+110,7
@@
static int sy7636a_regulator_probe(struct platform_device *pdev)
static const struct platform_device_id sy7636a_regulator_id_table[] = {
{ "sy7636a-regulator", },
+ { }
};
MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table);