Skip to content

Commit

Permalink
fbdev: atmel_lcdfb: Remove redundant of_match_ptr()
Browse files Browse the repository at this point in the history
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
Ruan Jinjie authored and Helge Deller committed Aug 15, 2023
1 parent 082f613 commit 73d7f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/atmel_lcdfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,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,
},
};

Expand Down

0 comments on commit 73d7f28

Please sign in to comment.