mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 11:03:37 +00:00
The driver reuses the OF node of the parent multi-function device but
fails to take another reference to balance the one dropped by the
platform bus code when unbinding the MFD and deregistering the child
devices.
Fix this by using the intended helper for reusing OF nodes.
Fixes: 2dc51ca822 ("clk: RK808: Reduce 'struct rk808' usage")
Cc: [email protected] # 6.5
Cc: Sebastian Reichel <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Reviewed-by: Brian Masney <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>