clk: vc7: Use device_get_match_data() instead of of_device_get_match_data()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 14 May 2023 19:19:59 +0000 (21:19 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 9 Jun 2023 00:09:16 +0000 (17:09 -0700)
commit893911e657365d49b23fc8a32a3184be036878e2
tree66a2dcd98ed5b03aa739b3d0e29211ccff13ddc2
parentd3d1c5e9fda089fa0094285096686d64eeea8f78
clk: vc7: Use device_get_match_data() instead of of_device_get_match_data()

Use device_get_match_data() which, unlike of_device_get_match_data(),
is compatible with other firmware interfaces than just OF.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://lore.kernel.org/r/20230514191959.706269-2-marek.vasut+renesas@mailbox.org
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-versaclock7.c