projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca94831
)
PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr()
author
Fabio Estevam
<festevam@gmail.com>
Mon, 29 Mar 2021 12:24:25 +0000
(09:24 -0300)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Thu, 8 Apr 2021 04:14:51 +0000
(13:14 +0900)
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>
drivers/devfreq/imx8m-ddrc.c
patch
|
blob
|
history
diff --git
a/drivers/devfreq/imx8m-ddrc.c
b/drivers/devfreq/imx8m-ddrc.c
index
ecb9375
..
1663697
100644
(file)
--- 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);