Skip to content

Commit ca94831

Browse files
fabioestevamchanwoochoi
authored andcommitted
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>
1 parent 6c4b264 commit ca94831

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/devfreq/imx-bus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static struct platform_driver imx_bus_platdrv = {
169169
.probe = imx_bus_probe,
170170
.driver = {
171171
.name = "imx-bus-devfreq",
172-
.of_match_table = of_match_ptr(imx_bus_of_match),
172+
.of_match_table = imx_bus_of_match,
173173
},
174174
};
175175
module_platform_driver(imx_bus_platdrv);

0 commit comments

Comments
 (0)