summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2023-05-30 11:55:36 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-06-16 19:39:51 +0200
commit4384a70c8813e8573d1841fd94eee873f80a7e1a (patch)
treee180b4cb400517ebc6e7d9e5c5b6e709c5821666 /drivers/acpi
parente5d1c8722083f0332dcd3c85fa1273d85fb6bed8 (diff)
downloadlinux-stable-4384a70c8813e8573d1841fd94eee873f80a7e1a.tar.gz
linux-stable-4384a70c8813e8573d1841fd94eee873f80a7e1a.tar.bz2
linux-stable-4384a70c8813e8573d1841fd94eee873f80a7e1a.zip
PM: domains: Move the verification of in-params from genpd_add_device()
Commit f38d1a6d0025 ("PM: domains: Allocate governor data dynamically based on a genpd governor") started to use the in-parameters in genpd_add_device(), without first doing a verification of them. This isn't really a big problem, as most callers do a verification already. Therefore, let's drop the verification from genpd_add_device() and make sure all the callers take care of it instead. Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Fixes: f38d1a6d0025 ("PM: domains: Allocate governor data dynamically based on a genpd governor") Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions