Skip to content

Commit

Permalink
PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Chanwoo Choi committed Apr 8, 2021
1 parent ca94831 commit 0a7dc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/devfreq/imx8m-ddrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ static struct platform_driver imx8m_ddrc_platdrv = {
.probe = imx8m_ddrc_probe,
.driver = {
.name = "imx8m-ddrc-devfreq",
.of_match_table = of_match_ptr(imx8m_ddrc_of_match),
.of_match_table = imx8m_ddrc_of_match,
},
};
module_platform_driver(imx8m_ddrc_platdrv);
Expand Down

0 comments on commit 0a7dc83

Please sign in to comment.