Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: cdce925: Remove redundant of_match_ptr()

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230808125341.4073115-1-ruanjinjie@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Ruan Jinjie and committed by
Stephen Boyd
ae305120 a995c50d

+1 -1
+1 -1
drivers/clk/clk-cdce925.c
··· 834 834 static struct i2c_driver cdce925_driver = { 835 835 .driver = { 836 836 .name = "cdce925", 837 - .of_match_table = of_match_ptr(clk_cdce925_of_match), 837 + .of_match_table = clk_cdce925_of_match, 838 838 }, 839 839 .probe = cdce925_probe, 840 840 .id_table = cdce925_id,