clk: tegra: dfll: Properly clean up on failure and removal
authorThierry Reding <treding@nvidia.com>
Fri, 8 Apr 2016 13:16:28 +0000 (15:16 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 28 Apr 2016 10:41:54 +0000 (12:41 +0200)
commitf7c42d98621739d416cc4a739b721574fcbe910c
treecbd6f61c1a1b90780e63e7be5c3c4d3bd0988b5e
parente8f6a68c508b5d1cc4612ada028d87c74ab279d5
clk: tegra: dfll: Properly clean up on failure and removal

Upon failure to probe the DFLL, the OPP table will not be cleaned up
properly. Fix this and while at it make sure the OPP table will also be
cleared upon driver removal.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-dfll.h
drivers/clk/tegra/clk-tegra124-dfll-fcpu.c
drivers/clk/tegra/cvb.c
drivers/clk/tegra/cvb.h