projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove lots of IS_ERR_VALUE abuses
[cascardo/linux.git]
/
drivers
/
cpufreq
/
omap-cpufreq.c
diff --git
a/drivers/cpufreq/omap-cpufreq.c
b/drivers/cpufreq/omap-cpufreq.c
index
cead9be
..
376e63c
100644
(file)
--- a/
drivers/cpufreq/omap-cpufreq.c
+++ b/
drivers/cpufreq/omap-cpufreq.c
@@
-54,7
+54,7
@@
static int omap_target(struct cpufreq_policy *policy, unsigned int index)
freq = new_freq * 1000;
ret = clk_round_rate(policy->clk, freq);
- if (
IS_ERR_VALUE(ret)
) {
+ if (
ret < 0
) {
dev_warn(mpu_dev,
"CPUfreq: Cannot find matching frequency for %lu\n",
freq);