aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-01-25 21:15:40 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-01-27 18:57:31 +0100
commit4cbeaebb8af1c86691d1a2d3328d82a01f4380a5 (patch)
tree65c31e18b9bf9a00dadb4a59e5c94f7889504837 /tools/perf/scripts/python
parentclk: sunxi: factors: Add clk cleanup in sunxi_factors_register() error path (diff)
downloadlinux-4cbeaebb8af1c86691d1a2d3328d82a01f4380a5.tar.gz
linux-4cbeaebb8af1c86691d1a2d3328d82a01f4380a5.zip
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions