summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2024-04-12 08:49:20 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-12 14:37:00 +0300
commitb8f85833c05730d631576008daaa34096bc7f3ce (patch)
treed9ce7d1c4c7ec534f4d6a07edd0508a05710df95 /drivers/firmware
parent5196123d4b3e9c70fcc9be800d797dc8e76372de (diff)
downloadlinux-b8f85833c05730d631576008daaa34096bc7f3ce.tar.xz
cpufreq: exit() callback is optional
The exit() callback is optional and shouldn't be called without checking a valid pointer first. Also, we must clear freq_table pointer even if the exit() callback isn't present. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Fixes: 91a12e91dc39 ("cpufreq: Allow light-weight tear down and bring up of CPUs") Fixes: f339f3541701 ("cpufreq: Rearrange locking in cpufreq_remove_dev()") Reported-by: Lizhe <sensor1010@163.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions