]> git.baikalelectronics.ru Git - uboot.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)
commit15949fe52dab49db49b817e780dbd1075c7a09e9
treeb8f8c6f17decb2ed10f31cf4038a75ea1fbe7563
parenta810818de8b8ced447ea4eb12dfa51c7f215d467
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