summaryrefslogtreecommitdiff
path: root/scripts/lib/abi/abi_regex.py
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2025-01-16 19:24:11 +0300
committerStephen Boyd <sboyd@kernel.org>2025-01-17 00:27:12 +0300
commit4af2cfc2ccdc57330cbd5da8c8dc8878f863763a (patch)
tree941b2b0931802774ba057a3a9b7ee6bbe306f394 /scripts/lib/abi/abi_regex.py
parent4d85abb0fb8eac79375b88d4442cdfc624389bcc (diff)
downloadlinux-4af2cfc2ccdc57330cbd5da8c8dc8878f863763a.tar.xz
clk: bcm: rpi: Create helper to retrieve private data
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@kernel.org> Signed-off-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Link: https://lore.kernel.org/r/20250116-bcm2712-clk-updates-v1-4-10bc92ffbf41@raspberrypi.com Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/lib/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions