From: Andy Shevchenko Date: Mon, 29 Dec 2025 12:53:38 +0000 (+0100) Subject: auxdisplay: arm-charlcd: drop of_match_ptr() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c77851631c36fa002c72064d4f10d77707b58ca9;p=thirdparty%2Flinux.git auxdisplay: arm-charlcd: drop of_match_ptr() The general recommendation is to not use of_match_ptr(). Drop it. Signed-off-by: Andy Shevchenko --- diff --git a/drivers/auxdisplay/arm-charlcd.c b/drivers/auxdisplay/arm-charlcd.c index eeabbca7923df..6a83eacb458c4 100644 --- a/drivers/auxdisplay/arm-charlcd.c +++ b/drivers/auxdisplay/arm-charlcd.c @@ -9,8 +9,8 @@ */ #include #include +#include #include -#include #include #include #include @@ -328,7 +328,7 @@ static struct platform_driver charlcd_driver = { .name = DRIVERNAME, .pm = &charlcd_pm_ops, .suppress_bind_attrs = true, - .of_match_table = of_match_ptr(charlcd_match), + .of_match_table = charlcd_match, }, }; builtin_platform_driver_probe(charlcd_driver, charlcd_probe);