Re: [PATCH RFC 04/11] clk: sunxi: factors: Add unregister function
From: Maxime Ripard
Date: Wed Jan 27 2016 - 13:08:30 EST
On Wed, Jan 27, 2016 at 04:52:10PM +0100, Maxime Ripard wrote:
> On Mon, Jan 25, 2016 at 09:15:40PM +0800, Chen-Yu Tsai wrote:
> > sunxi's factors clk did not have an unregister function. This means
> > multiple structs were leaked whenever a factors clk was unregistered.
> >
> > Add an unregister function for it. Also keep pointers to the mux and
> > gate structs so they can be freed.
> >
> > Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
>
> Applied, thanks!
> Maxime
So, yeah, that obviously didn't work, since clk_unregister_composite
wasn't in.
I want to give that as much linux-next coverage as possible, so I
still pulled 3, 5 and 11, replacing the call to
clk_unregister_composite by clk_unregister, adding a todo note on top.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Attachment:
signature.asc
Description: Digital signature