From: Axel Lin <axel.lin@ingics.com>
To: Mark Brown <broonie@kernel.org>
Cc: Alistair Francis <alistair@alistair23.me>,
Lars Ivar Miljeteig <lars.ivar.miljeteig@remarkable.com>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-kernel@vger.kernel.org, Axel Lin <axel.lin@ingics.com>
Subject: [PATCH 1/3] regulator: sy7636a: Add terminating entry for platform_device_id table
Date: Wed, 16 Jun 2021 11:44:56 +0800 [thread overview]
Message-ID: <20210616034458.3499522-1-axel.lin@ingics.com> (raw)
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
next reply other threads:[~2021-06-16 3:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-16 3:44 Axel Lin [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210616034458.3499522-1-axel.lin@ingics.com \
--to=axel.lin@ingics.com \
--cc=alistair@alistair23.me \
--cc=broonie@kernel.org \
--cc=lars.ivar.miljeteig@remarkable.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).