summaryrefslogtreecommitdiff
path: root/drivers/devfreq/imx8m-ddrc.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-03-29 15:24:25 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2021-04-08 07:14:51 +0300
commit0a7dc8318c2817fb33dc50946f7ca6e0ff28f036 (patch)
tree6905f00d1b8e19a0df2d26a58f2d99530f69b457 /drivers/devfreq/imx8m-ddrc.c
parentca948312e00056124e8026478a36d3b7baeb0b22 (diff)
downloadlinux-0a7dc8318c2817fb33dc50946f7ca6e0ff28f036.tar.xz
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>
Diffstat (limited to 'drivers/devfreq/imx8m-ddrc.c')
-rw-r--r--drivers/devfreq/imx8m-ddrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index ecb9375aa877..16636973eb10 100644
--- a/drivers/devfreq/imx8m-ddrc.c
+++ b/drivers/devfreq/imx8m-ddrc.c
@@ -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);