Re: [PATCH 7/7] reset: sunxi: Reuse the platform data from the clock driver

2022-06-27 Thread Andre Przywara
On Mon, 9 May 2022 00:29:37 -0500 Samuel Holland wrote: Hi, > The clock and reset drivers use the exact same platform data. Simplify > them by sharing the object. This is safe because the parent device > (the clock device) always gets its driver model callbacks run first. > > Signed-off-by: Sa

[PATCH 7/7] reset: sunxi: Reuse the platform data from the clock driver

2022-05-08 Thread Samuel Holland
The clock and reset drivers use the exact same platform data. Simplify them by sharing the object. This is safe because the parent device (the clock device) always gets its driver model callbacks run first. Signed-off-by: Samuel Holland --- drivers/clk/sunxi/clk_sunxi.c | 7 +- drivers/res