projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ce82b
)
devfreq: rk3399_dmc: Remove dangling rcu_read_unlock()
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 1 Dec 2016 10:42:14 +0000
(16:12 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 8 Dec 2016 00:46:06 +0000
(
01:46
+0100)
This call never had the rcu_read_lock() counterpart. Remove the unlock
part as well.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/devfreq/rk3399_dmc.c
patch
|
blob
|
history
diff --git
a/drivers/devfreq/rk3399_dmc.c
b/drivers/devfreq/rk3399_dmc.c
index 5063ac1a59391fe2bb44753f95e12d6032a18c05..971ee63584569a722e8cd91d42801f79d5b69c9e 100644
(file)
--- a/
drivers/devfreq/rk3399_dmc.c
+++ b/
drivers/devfreq/rk3399_dmc.c
@@
-414,7
+414,6
@@
static int rk3399_dmcfreq_probe(struct platform_device *pdev)
*/
if (dev_pm_opp_of_add_table(dev)) {
dev_err(dev, "Invalid operating-points in device tree.\n");
- rcu_read_unlock();
return -EINVAL;
}