linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] regulator: sy7636a: Add terminating entry for platform_device_id table
@ 2021-06-16  3:44 Axel Lin
  2021-06-16  3:44 ` [PATCH 2/3] regulator: sy7636a: Make regulator_desc static const Axel Lin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Axel Lin @ 2021-06-16  3:44 UTC (permalink / raw)
  To: Mark Brown
  Cc: Alistair Francis, Lars Ivar Miljeteig, Liam Girdwood,
	linux-kernel, Axel Lin

The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/sy7636a-regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c
index c384c2b6ac46..54ab1be1001e 100644
--- 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);
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-16 16:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16  3:44 [PATCH 1/3] regulator: sy7636a: Add terminating entry for platform_device_id table Axel Lin
2021-06-16  3:44 ` [PATCH 2/3] regulator: sy7636a: Make regulator_desc static const Axel Lin
2021-06-16  8:21   ` Alistair
2021-06-16  3:44 ` [PATCH 3/3] regulator: sy7636a: Use rdev_get_drvdata at proper place Axel Lin
2021-06-16  8:33   ` Alistair
2021-06-16  8:21 ` [PATCH 1/3] regulator: sy7636a: Add terminating entry for platform_device_id table Alistair
2021-06-16 16:41 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).