Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PM / devfreq: imx8m-ddrc: 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 <festevam@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>

authored by

Fabio Estevam and committed by
Chanwoo Choi
0a7dc831 ca948312

+1 -1
+1 -1
drivers/devfreq/imx8m-ddrc.c
··· 447 447 .probe = imx8m_ddrc_probe, 448 448 .driver = { 449 449 .name = "imx8m-ddrc-devfreq", 450 - .of_match_table = of_match_ptr(imx8m_ddrc_of_match), 450 + .of_match_table = imx8m_ddrc_of_match, 451 451 }, 452 452 }; 453 453 module_platform_driver(imx8m_ddrc_platdrv);