summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorJulien Stephan <[email protected]>2026-07-15 16:29:00 +0200
committerDavid Lechner <[email protected]>2026-07-29 10:25:19 -0500
commit02ac5662ca6591beda139d8d01d5971a22ae13dc (patch)
tree56aecc7ee3958fd70bdf1c30dafe83257a6e2852 /api
parentc399402b0ebede2b68c47ea03d6301f96e4aa8c4 (diff)
clk: mediatek: get the clock tree from the driver data in mtk_common_clk_init
Every clock driver now stores its struct mtk_clk_tree in the compatible data. Rename mtk_common_clk_init() to mtk_clk_probe() and make if fetch the tree from dev_get_driver_data() instead of taking it as an argument, so it matches the driver .probe prototype and can be used directly as the probe callback. Drop all the per-SoC probe wrappers that only forwarded the driver data to mtk_clk_probe(), and point the corresponding drivers at mtk_clk_probe() directly. The few controllers that still need a dedicated probe for SoC specific register tweaks (some apmixedsys and topckgen instances) keep it, but now call the single-argument mtk_clk_probe(). This touches every MediaTek clock driver at once to keep the tree building across the whole series. No functional change intended. Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/20260715-b4-mtk-clk-cleanup-clock-gate-drivers-v2-32-23e907516010@baylibre.com Signed-off-by: David Lechner <[email protected]> (renamed mtk_common_clk_init() to mtk_clk_probe())
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions