commit | 4cbeaebb8af1c86691d1a2d3328d82a01f4380a5 | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Mon Jan 25 21:15:40 2016 +0800 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Wed Jan 27 18:57:31 2016 +0100 |
tree | 65c31e18b9bf9a00dadb4a59e5c94f7889504837 | |
parent | 78ca95c76900e7587d6e076f8162a440f19431ae [diff] |
clk: sunxi: factors: Add unregister function 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@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>