]> git.ipfire.org Git - thirdparty/u-boot.git/commit
clk: mediatek: drop parent udevice field
authorDavid Lechner <dlechner@baylibre.com>
Fri, 10 Jul 2026 18:56:35 +0000 (13:56 -0500)
committerDavid Lechner <dlechner@baylibre.com>
Wed, 22 Jul 2026 17:01:17 +0000 (12:01 -0500)
commitbaf76de5958eec2ecb8ff388725df4ccb98f2510
treec9f6f45171245c14e8043b374b05385658176ea4
parent8ef0ad4c7a6d2ff48318c24784644b1ca3f72a49
clk: mediatek: drop parent udevice field

Remove the parent field from the mediatek clock private data structures.
This was no longer used other than debug prints.

The uclass_get_device_* functions had the effect of ensuring that
parents were probed. This is done now by having parent providers
probe on bind, so re-probing here is no longer necessary. Clock trees
could have more than one parent anyway, so the existing code was not
completely correct anyway.

Link: https://patch.msgid.link/20260710-mtk-clk-parent-lookup-improvements-v2-19-f3f3a4a28dca@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/clk/mediatek/clk-mtk.c
drivers/clk/mediatek/clk-mtk.h