]> Gentwo Git Trees - linux/.git/commit
clk: amlogic: use probe helper in mmio based controllers
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 25 Aug 2025 14:26:28 +0000 (16:26 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Thu, 4 Sep 2025 16:27:12 +0000 (18:27 +0200)
commitd7c001bd76b7f7e6c05f615d472b5daadc87b434
tree77b88941560faa15d7d00c5be94152dab7b162bc
parent480197ceece792b887a6f3361080a030eb8e4846
clk: amlogic: use probe helper in mmio based controllers

Factorize the probe function of the mmio based amlogic clock controllers
using the newly introduced probe helper. This removes a fair amount
of duplicated code.

Reviewed-by: Chuan Liu <chuan.liu@amlogic.com>
Link: https://lore.kernel.org/r/20250825-meson-clk-cleanup-24-v2-3-0f402f01e117@baylibre.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/a1-peripherals.c
drivers/clk/meson/a1-pll.c
drivers/clk/meson/c3-peripherals.c
drivers/clk/meson/c3-pll.c
drivers/clk/meson/meson8-ddr.c
drivers/clk/meson/s4-peripherals.c
drivers/clk/meson/s4-pll.c