]> git.dujemihanovic.xyz Git - linux.git/commit
clk: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 21:39:58 +0000 (16:39 -0500)
committerStephen Boyd <sboyd@kernel.org>
Tue, 24 Oct 2023 03:16:21 +0000 (20:16 -0700)
commit409c39ec92a35e3708f5b5798c78eae78512cd71
treefce942519c2e665033d29f497bc8763d7a1fb559
parentfaf6b92ee0091ff7a7bba03a1726a1a97112e9db
clk: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006213959.334439-1-robh@kernel.org
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> #msm part
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> # Samsung
Acked-by: David Lechner <david@lechnology.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
13 files changed:
drivers/clk/clk-lochnagar.c
drivers/clk/davinci/da8xx-cfgchip.c
drivers/clk/davinci/pll.c
drivers/clk/davinci/psc.c
drivers/clk/qcom/gcc-msm8960.c
drivers/clk/qcom/gcc-msm8974.c
drivers/clk/qcom/kpss-xcc.c
drivers/clk/qcom/krait-cc.c
drivers/clk/qcom/mmcc-msm8960.c
drivers/clk/qcom/mmcc-sdm660.c
drivers/clk/rockchip/clk-rk3399.c
drivers/clk/samsung/clk-exynos-clkout.c
drivers/clk/ti/adpll.c