projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: OMAP: use consistent error checking
[deliverable/linux.git]
/
arch
/
arm
/
plat-omap
/
dmtimer.c
diff --git
a/arch/arm/plat-omap/dmtimer.c
b/arch/arm/plat-omap/dmtimer.c
index 7cda34d93c8bff85a686a17a57719751fe7a700b..5679ec41928b34d78d9d63d42b18bfeecbe5df99 100644
(file)
--- a/
arch/arm/plat-omap/dmtimer.c
+++ b/
arch/arm/plat-omap/dmtimer.c
@@
-505,7
+505,7
@@
int omap_dm_timer_set_source(struct omap_dm_timer *timer, int source)
}
ret = clk_set_parent(timer->fclk, parent);
- if (
IS_ERR_VALUE(ret)
)
+ if (
ret < 0
)
pr_err("%s: failed to set %s as parent\n", __func__,
parent_name);
This page took
0.025402 seconds
and
5
git commands to generate.