clk: exynos: provide device pointer to clk_register_* functions
authorKaustabh Chakraborty <kauschluss@disroot.org>
Fri, 17 Oct 2025 15:21:29 +0000 (20:51 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 12 Nov 2025 04:56:12 +0000 (13:56 +0900)
commit2a07137641769e06d4775698ff05d3a63ce82743
tree4e31164984b46268e3e07cc4bc696b0e617c3c20
parentcaa740df9cae5ddc74b18b88a4fea43e27b2fdf6
clk: exynos: provide device pointer to clk_register_* functions

The device pointer set as NULL causes problems when clock banks depend
on clocks from another clock bank. In such case, the appropriate clock
needs to be resolved from OF phandle arguments, which is not possible if
the associated device is not provided. Make necessary changes to make
the correct device pointer available.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/clk/exynos/clk-pll.c
drivers/clk/exynos/clk-pll.h
drivers/clk/exynos/clk.c