summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl/debugfs.c
diff options
context:
space:
mode:
authorDavid Arcari <darcari@redhat.com>2017-05-26 11:37:31 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-05-30 00:07:20 +0200
commit6c77003677d5f1ce15f26d24360cb66c0bc07bb3 (patch)
tree0ff7ebad5e998325d125d45ad838ca6f2389ee8e /drivers/misc/cxl/debugfs.c
parentbe0408d74d9c95de1baf6c2563b6e6d1dfb17b88 (diff)
downloadtalos-op-linux-6c77003677d5f1ce15f26d24360cb66c0bc07bb3.tar.gz
talos-op-linux-6c77003677d5f1ce15f26d24360cb66c0bc07bb3.zip
cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
For a driver that does not set the CPUFREQ_STICKY flag, if all of the ->init() calls fail, cpufreq_register_driver() should return an error. This will prevent the driver from loading. Fixes: ce1bcfe94db8 (cpufreq: check cpufreq_policy_list instead of scanning policies for all CPUs) Cc: 4.0+ <stable@vger.kernel.org> # 4.0+ Signed-off-by: David Arcari <darcari@redhat.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/misc/cxl/debugfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud