[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <74ced7773354bac9d59f1835927247f6.sboyd@kernel.org>
Date: Thu, 21 Nov 2024 14:47:53 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>, Catalin Marinas <catalin.marinas@....com>, Conor Dooley <conor+dt@...nel.org>, Dave Stevenson <dave.stevenson@...pberrypi.com>, David Airlie <airlied@...il.com>, Florian Fainelli <florian.fainelli@...adcom.com>, Javier Martinez Canillas <javierm@...hat.com>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard <mripard@...nel.org>, MaĆra Canal <mcanal@...lia.com>, Michael Turquette <mturquette@...libre.com>, Raspberry Pi Kernel Maintenance <kernel-list@...pberrypi.com>, Ray Jui <rjui@...adcom.com>, Rob Herring <robh@...nel.org>, Scott Branden <sbranden@...adcom.com>, Simona Vetter <simona@...ll.ch>, Thomas Zimmermann <tzimmermann@...e.de>, Will Deacon <will@...nel.org>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org, devicetree@...r.kernel.org, linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org, Dave Stevenson <dave.stevenson@...pberrypi.com>
Subject: Re: [PATCH 33/37] clk: bcm: rpi: Create helper to retrieve private data
Quoting Dave Stevenson (2024-10-23 09:50:30)
> From: Maxime Ripard <mripard@...nel.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.
>
> Signed-off-by: Maxime Ripard <mripard@...nel.org>
> Signed-off-by: Dave Stevenson <dave.stevenson@...pberrypi.com>
> ---
Acked-by: Stephen Boyd <sboyd@...nel.org>
Powered by blists - more mailing lists