From: Ruan Jinjie <ruanjinjie@huawei.com>
To: <TheSven73@gmail.com>, <gregkh@linuxfoundation.org>,
<mripard@kernel.org>, <paul.kocialkowski@bootlin.com>,
<mchehab@kernel.org>, <wens@csie.org>, <jernej.skrabec@gmail.com>,
<samuel@sholland.org>, <linux-staging@lists.linux.dev>,
<linux-media@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-sunxi@lists.linux.dev>
Cc: <ruanjinjie@huawei.com>
Subject: [PATCH -next 1/2] staging: fieldbus: arcx-anybus: Remove redundant of_match_ptr()
Date: Fri, 11 Aug 2023 10:49:44 +0800 [thread overview]
Message-ID: <20230811024945.2256437-2-ruanjinjie@huawei.com> (raw)
In-Reply-To: <20230811024945.2256437-1-ruanjinjie@huawei.com>
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
---
drivers/staging/fieldbus/anybuss/arcx-anybus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/fieldbus/anybuss/arcx-anybus.c b/drivers/staging/fieldbus/anybuss/arcx-anybus.c
index be28165b4f05..6f69758a8b27 100644
--- a/drivers/staging/fieldbus/anybuss/arcx-anybus.c
+++ b/drivers/staging/fieldbus/anybuss/arcx-anybus.c
@@ -343,7 +343,7 @@ static struct platform_driver controller_driver = {
.remove_new = controller_remove,
.driver = {
.name = "arcx-anybus-controller",
- .of_match_table = of_match_ptr(controller_of_match),
+ .of_match_table = controller_of_match,
},
};
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-08-11 2:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 2:49 [PATCH -next 0/2] staging: Remove redundant of_match_ptr() macro Ruan Jinjie
2023-08-11 2:49 ` Ruan Jinjie [this message]
2023-08-11 2:49 ` [PATCH -next 2/2] media: staging: media: sunxi: cedrus: Remove redundant of_match_ptr() Ruan Jinjie
2023-08-13 15:22 ` Jernej Škrabec
2023-08-16 10:09 ` Paul Kocialkowski
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=20230811024945.2256437-2-ruanjinjie@huawei.com \
--to=ruanjinjie@huawei.com \
--cc=TheSven73@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jernej.skrabec@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=linux-sunxi@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=mripard@kernel.org \
--cc=paul.kocialkowski@bootlin.com \
--cc=samuel@sholland.org \
--cc=wens@csie.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