This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: staging: media: sunxi: cedrus: Remove redundant of_match_ptr()
Author:  Ruan Jinjie <ruanjin...@huawei.com>
Date:    Fri Aug 11 10:49:45 2023 +0800

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjin...@huawei.com>
Acked-by: Jernej Skrabec <jernej.skra...@gmail.com>
Acked-by: Paul Kocialkowski <paul.kocialkow...@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 drivers/staging/media/sunxi/cedrus/cedrus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c 
b/drivers/staging/media/sunxi/cedrus/cedrus.c
index 8e248d4a0aec..f52df6836045 100644
--- a/drivers/staging/media/sunxi/cedrus/cedrus.c
+++ b/drivers/staging/media/sunxi/cedrus/cedrus.c
@@ -708,7 +708,7 @@ static struct platform_driver cedrus_driver = {
        .remove_new     = cedrus_remove,
        .driver         = {
                .name           = CEDRUS_NAME,
-               .of_match_table = of_match_ptr(cedrus_dt_match),
+               .of_match_table = cedrus_dt_match,
                .pm             = &cedrus_dev_pm_ops,
        },
 };

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to