mtd: rawnand: mxc: Remove unneeded of_match_ptr()
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/1 mtd: rawnand: mxc: Remove unneeded of_match_ptr()
i.MX is a DT-only platform, so of_match_ptr() can be safely removed.
Remove the unneeded of_match_ptr().
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/mtd/nand/raw/mxc_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/raw/mxc_nand.c +1 -1
@@ -1849,7 +1849,7 @@ static int mxcnd_remove(struct platform_device *pdev)static struct platform_driver mxcnd_driver = { .driver = { .name =DRIVER_NAME , - .of_match_table =of_match_ptr (mxcnd_dt_ids), + .of_match_table = mxcnd_dt_ids, }, .probe = mxcnd_probe, .remove = mxcnd_remove,
Signature · 6 lines
2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
Quoted 6 lines · Fabio Estevam
i.MX is a DT-only platform, so
of_match_ptr()can be safely removed.Remove the unneeded
of_match_ptr().Signed-off-by Fabio Estevam <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/