[PATCH 4/5] clk: bcm: rpi: Create helper to retrieve private data
Stephen Boyd
sboyd at kernel.org
Thu Jan 16 13:29:08 PST 2025
Quoting Dave Stevenson (2025-01-16 08:24:11)
> From: Maxime Ripard <mripard at kernel.org>
>
> The RaspberryPi firmware clocks driver uses in several instances a
> container_of to retrieve the struct raspberrypi_clk_data from a pointer
> to struct clk_hw. Let's create a small function to avoid duplicating it
> all over the place.
>
> Acked-by: Stephen Boyd <sboyd at kernel.org>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> Signed-off-by: Dave Stevenson <dave.stevenson at raspberrypi.com>
> ---
Applied to clk-next
More information about the linux-arm-kernel
mailing list