]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: sunxi: Convert driver private data to platform data
authorSamuel Holland <samuel@sholland.org>
Mon, 9 May 2022 05:29:35 +0000 (00:29 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 18 Jul 2022 08:37:50 +0000 (09:37 +0100)
commit5af97b6ff74e3ce7312b3ef533c55f73430fb7d5
treeb8f8c6f17decb2ed10f31cf4038a75ea1fbe7563
parent46fa23f9eecd0fc32215a194e7a7f5f5abe67cdc
clk: sunxi: Convert driver private data to platform data

All of the driver private data should really be platform data since it
is determined statically (selected by the compatible string or extracted
from the devicetree). Move everything to platform data, so it can be
provided when binding the driver. This is useful for SPL, or for
instantiating the driver as part of an MFD.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/clk/sunxi/clk_sunxi.c
include/clk/sunxi.h