diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-02-14 15:22:31 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-02-14 15:22:31 +0100 |
commit | 3500e221d50da5e56603bfde3be1c1f0fabfae23 (patch) | |
tree | 88f538be62aa7c31b556765fbcf03fcd3b99e111 /drivers/cpufreq/qcom-cpufreq-hw.c | |
parent | cpufreq: qcom-hw: Add missing null pointer check (diff) | |
parent | MIPS: loongson32: Drop obsolete cpufreq platform device (diff) | |
download | linux-3500e221d50da5e56603bfde3be1c1f0fabfae23.tar.xz linux-3500e221d50da5e56603bfde3be1c1f0fabfae23.zip |
Merge back cpufreq material for 6.3-rc1.
Diffstat (limited to 'drivers/cpufreq/qcom-cpufreq-hw.c')
-rw-r--r-- | drivers/cpufreq/qcom-cpufreq-hw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c index d3f55ca06ed3..2f581d2d617d 100644 --- a/drivers/cpufreq/qcom-cpufreq-hw.c +++ b/drivers/cpufreq/qcom-cpufreq-hw.c @@ -770,7 +770,9 @@ of_exit: static int qcom_cpufreq_hw_driver_remove(struct platform_device *pdev) { - return cpufreq_unregister_driver(&cpufreq_qcom_hw_driver); + cpufreq_unregister_driver(&cpufreq_qcom_hw_driver); + + return 0; } static struct platform_driver qcom_cpufreq_hw_driver = { |