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

Florian Fainelli florian.fainelli at broadcom.com
Thu Jan 16 09:45:51 PST 2025


On 1/16/25 08:24, Dave Stevenson wrote:
> 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>

Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian



More information about the linux-arm-kernel mailing list