[PATCH -next] fbdev: atmel_lcdfb: Remove redundant of_match_ptr()
Helge Deller
deller at gmx.de
Tue Aug 15 21:08:19 UTC 2023
On 8/11/23 09:28, 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 at huawei.com>
applied.
Thanks!
Helge
> ---
> drivers/video/fbdev/atmel_lcdfb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/fbdev/atmel_lcdfb.c b/drivers/video/fbdev/atmel_lcdfb.c
> index c75a62287ec4..a908db233409 100644
> --- a/drivers/video/fbdev/atmel_lcdfb.c
> +++ b/drivers/video/fbdev/atmel_lcdfb.c
> @@ -1306,7 +1306,7 @@ static struct platform_driver atmel_lcdfb_driver = {
> .resume = atmel_lcdfb_resume,
> .driver = {
> .name = "atmel_lcdfb",
> - .of_match_table = of_match_ptr(atmel_lcdfb_dt_ids),
> + .of_match_table = atmel_lcdfb_dt_ids,
> },
> };
>
More information about the dri-devel
mailing list