From: Fabio Estevam Date: Mon, 29 Mar 2021 12:24:24 +0000 (-0300) Subject: PM / devfreq: imx-bus: Remove unneeded of_match_ptr() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ca948312e00056124e8026478a36d3b7baeb0b22;p=linux.git 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 Signed-off-by: Chanwoo Choi --- diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c index 4f38455ad7423..3fc3fd77492d5 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);