* [PATCH -next] Input: bcm-keypad - Remove redundant of_match_ptr()
@ 2023-08-09 10:16 Ruan Jinjie
2024-01-19 19:22 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Ruan Jinjie @ 2023-08-09 10:16 UTC (permalink / raw)
To: linux-input, dmitry.torokhov, krzysztof.kozlowski, hdegoede,
andy.shevchenko, frank.li
Cc: ruanjinjie
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] Input: bcm-keypad - Remove redundant of_match_ptr()
2023-08-09 10:16 [PATCH -next] Input: bcm-keypad - Remove redundant of_match_ptr() Ruan Jinjie
@ 2024-01-19 19:22 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2024-01-19 19:22 UTC (permalink / raw)
To: Ruan Jinjie
Cc: linux-input, krzysztof.kozlowski, hdegoede, andy.shevchenko,
frank.li
On Wed, Aug 09, 2023 at 06:16:26PM +0800, Ruan Jinjie wrote:
> The driver depends on CONFIG_OF, it is not necessary to use
> of_match_ptr() here.
>
> Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-19 19:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 10:16 [PATCH -next] Input: bcm-keypad - Remove redundant of_match_ptr() Ruan Jinjie
2024-01-19 19:22 ` Dmitry Torokhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.