Commit 3b754621 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

* 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  PM / OPP: Use ERR_CAST instead of ERR_PTR(PTR_ERR())
  PM / devfreq: fix private_data
  Documentation: Fix typo in freezer-subsystem.txt
  PM / QoS: Set cpu_dma_pm_qos->name
parents c8f17084 156acb16
...@@ -33,9 +33,9 @@ demonstrate this problem using nested bash shells: ...@@ -33,9 +33,9 @@ demonstrate this problem using nested bash shells:
From a second, unrelated bash shell: From a second, unrelated bash shell:
$ kill -SIGSTOP 16690 $ kill -SIGSTOP 16690
$ kill -SIGCONT 16990 $ kill -SIGCONT 16690
<at this point 16990 exits and causes 16644 to exit too> <at this point 16690 exits and causes 16644 to exit too>
This happens because bash can observe both signals and choose how it This happens because bash can observe both signals and choose how it
responds to them. responds to them.
......
...@@ -669,7 +669,7 @@ struct srcu_notifier_head *opp_get_notifier(struct device *dev) ...@@ -669,7 +669,7 @@ struct srcu_notifier_head *opp_get_notifier(struct device *dev)
struct device_opp *dev_opp = find_device_opp(dev); struct device_opp *dev_opp = find_device_opp(dev);
if (IS_ERR(dev_opp)) if (IS_ERR(dev_opp))
return ERR_PTR(PTR_ERR(dev_opp)); /* matching type */ return ERR_CAST(dev_opp); /* matching type */
return &dev_opp->head; return &dev_opp->head;
} }
...@@ -41,7 +41,7 @@ struct devfreq_dev_status { ...@@ -41,7 +41,7 @@ struct devfreq_dev_status {
unsigned long total_time; unsigned long total_time;
unsigned long busy_time; unsigned long busy_time;
unsigned long current_frequency; unsigned long current_frequency;
void *private_date; void *private_data;
}; };
/** /**
......
...@@ -70,6 +70,7 @@ static struct pm_qos_constraints cpu_dma_constraints = { ...@@ -70,6 +70,7 @@ static struct pm_qos_constraints cpu_dma_constraints = {
}; };
static struct pm_qos_object cpu_dma_pm_qos = { static struct pm_qos_object cpu_dma_pm_qos = {
.constraints = &cpu_dma_constraints, .constraints = &cpu_dma_constraints,
.name = "cpu_dma_latency",
}; };
static BLOCKING_NOTIFIER_HEAD(network_lat_notifier); static BLOCKING_NOTIFIER_HEAD(network_lat_notifier);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment