Skip to content
Commit 2c176ce2 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 3fef8e1d
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