Skip to content
Commit 34ef925b authored by Maxime Ripard's avatar Maxime Ripard Committed by Dom Cobley
Browse files

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.

Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 01c6c198
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment