diff options
| author | Nicolas Frattaroli <nicolas.frattaroli@collabora.com> | 2025-12-15 11:23:59 +0100 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2026-01-22 17:44:32 -0800 |
| commit | c9ced38af56fe6411118c6bc6522eab80849326d (patch) | |
| tree | 5cb46e69dd42de5162c56cd58ec680b4979a282d /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 669917676e93fca5ea3c66fc9539830312bec58e (diff) | |
clk: mediatek: Refactor pll registration to pass device
As it stands, mtk_clk_register_plls takes a struct device_node pointer
as its first argument. This is a tragic happenstance, as it's trivial to
get the device_node from a struct device, but the opposite not so much.
The struct device is a much more useful thing to have passed down.
Refactor mtk_clk_register_plls to take a struct device pointer instead
of a struct device_node pointer, and fix up all users of this function.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
