diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-01-17 15:26:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-04 09:39:33 +0100 |
| commit | fa21224447ef131d87e778dea3ee8162ee75dab9 (patch) | |
| tree | a9cff2f75da1cfc8b7ccd2d746b6a90e81a5f7e3 /include | |
| parent | 1fe373d16fcccb86dcf6c12809697a1c50dc79a8 (diff) | |
cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
[ Upstream commit 3657f729b6fb5f2c0bf693742de2dcd49c572aa1 ]
If 'cpufreq_unregister_driver()' fails, just WARN and continue, so that
other resources are freed.
Fixes: de322e085995 ("cpufreq: brcmstb-avs-cpufreq: AVS CPUfreq driver for Broadcom STB SoCs")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
[ Viresh: Updated Subject ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
