diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-03-29 14:24:24 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2021-04-08 06:14:51 +0200 |
commit | ca948312e00056124e8026478a36d3b7baeb0b22 (patch) | |
tree | daa04792399b2474b0bdc10d5318392f6dbb47f2 /drivers/devfreq | |
parent | PM / devfreq: imx8m-ddrc: Remove imx8m_ddrc_get_dev_status (diff) | |
download | linux-ca948312e00056124e8026478a36d3b7baeb0b22.tar.xz linux-ca948312e00056124e8026478a36d3b7baeb0b22.zip |
PM / devfreq: imx-bus: 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')
-rw-r--r-- | drivers/devfreq/imx-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c index 4f38455ad742..3fc3fd77492d 100644 --- a/drivers/devfreq/imx-bus.c +++ b/drivers/devfreq/imx-bus.c @@ -169,7 +169,7 @@ static struct platform_driver imx_bus_platdrv = { .probe = imx_bus_probe, .driver = { .name = "imx-bus-devfreq", - .of_match_table = of_match_ptr(imx_bus_of_match), + .of_match_table = imx_bus_of_match, }, }; module_platform_driver(imx_bus_platdrv); |