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>
This commit is contained in:
Fabio Estevam 2021-03-29 09:24:24 -03:00 committed by Chanwoo Choi
parent 6c4b264c70
commit ca948312e0

View File

@ -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);