Re: [PATCH 4/5] clk: bcm: rpi: Create helper to retrieve private data

From: Stephen Boyd
Date: Thu Jan 16 2025 - 16:29:38 EST


Quoting Dave Stevenson (2025-01-16 08:24:11)
> From: Maxime Ripard <mripard@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
> Signed-off-by: Dave Stevenson <dave.stevenson@xxxxxxxxxxxxxxx>
> ---

Applied to clk-next