summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-06-23 15:55:15 +0200
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-06-23 15:55:15 +0200
commit5315486b2da90bcfa1ce5c791aafebb4c3534cf1 (patch)
treec3c215962edb82708210606574417efc1b84abe0 /drivers/cpufreq
parent351dce074b70b19c7f8b1b737a862577e822a508 (diff)
parent050639ef5810e8ad17fb6a426eff3c63e616350c (diff)
downloadlinux-rt-5315486b2da90bcfa1ce5c791aafebb4c3534cf1.tar.gz
Merge tag 'v4.9.33' into linux-4.9.y-rt
This is the 4.9.33 stable release Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 6153b66139d5..286d4d61bd0b 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -2474,6 +2474,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
if (!(cpufreq_driver->flags & CPUFREQ_STICKY) &&
list_empty(&cpufreq_policy_list)) {
/* if all ->init() calls failed, unregister */
+ ret = -ENODEV;
pr_debug("%s: No CPU initialized for driver %s\n", __func__,
driver_data->name);
goto err_if_unreg;