From: Ruan Jinjie <ruanjinjie@huawei.com>
To: <linux-input@vger.kernel.org>, <dmitry.torokhov@gmail.com>,
<krzysztof.kozlowski@linaro.org>, <hdegoede@redhat.com>,
<andy.shevchenko@gmail.com>, <frank.li@vivo.com>
Cc: <ruanjinjie@huawei.com>
Subject: [PATCH -next] Input: bcm-keypad - Remove redundant of_match_ptr()
Date: Wed, 9 Aug 2023 18:16:26 +0800 [thread overview]
Message-ID: <20230809101626.2664651-1-ruanjinjie@huawei.com> (raw)
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/input/keyboard/bcm-keypad.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/bcm-keypad.c b/drivers/input/keyboard/bcm-keypad.c
index f3c3746acd4c..6b46f83a9edb 100644
--- a/drivers/input/keyboard/bcm-keypad.c
+++ b/drivers/input/keyboard/bcm-keypad.c
@@ -418,7 +418,7 @@ static struct platform_driver bcm_kp_device_driver = {
.probe = bcm_kp_probe,
.driver = {
.name = "bcm-keypad",
- .of_match_table = of_match_ptr(bcm_kp_of_match),
+ .of_match_table = bcm_kp_of_match,
}
};
--
2.34.1
next reply other threads:[~2023-08-09 10:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-09 10:16 Ruan Jinjie [this message]
2024-01-19 19:22 ` [PATCH -next] Input: bcm-keypad - Remove redundant of_match_ptr() Dmitry Torokhov
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=20230809101626.2664651-1-ruanjinjie@huawei.com \
--to=ruanjinjie@huawei.com \
--cc=andy.shevchenko@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=frank.li@vivo.com \
--cc=hdegoede@redhat.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-input@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