Skip to content

Commit 0a7dc83

Browse files
fabioestevamchanwoochoi
authored andcommitted
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>
1 parent ca94831 commit 0a7dc83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/devfreq/imx8m-ddrc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ static struct platform_driver imx8m_ddrc_platdrv = {
447447
.probe = imx8m_ddrc_probe,
448448
.driver = {
449449
.name = "imx8m-ddrc-devfreq",
450-
.of_match_table = of_match_ptr(imx8m_ddrc_of_match),
450+
.of_match_table = imx8m_ddrc_of_match,
451451
},
452452
};
453453
module_platform_driver(imx8m_ddrc_platdrv);

0 commit comments

Comments
 (0)