mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
mtd: nand: pxa3xx_nand: Remove redundant of_match_ptr
The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
fea7b5697b
commit
5576bc7bef
1 changed files with 1 additions and 1 deletions
|
@ -1412,7 +1412,7 @@ static int pxa3xx_nand_resume(struct platform_device *pdev)
|
|||
static struct platform_driver pxa3xx_nand_driver = {
|
||||
.driver = {
|
||||
.name = "pxa3xx-nand",
|
||||
.of_match_table = of_match_ptr(pxa3xx_nand_dt_ids),
|
||||
.of_match_table = pxa3xx_nand_dt_ids,
|
||||
},
|
||||
.probe = pxa3xx_nand_probe,
|
||||
.remove = pxa3xx_nand_remove,
|
||||
|
|
Loading…
Reference in a new issue