projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git]
/
arch
/
arm
/
mach-omap2
/
board-omap3beagle.c
diff --git
a/arch/arm/mach-omap2/board-omap3beagle.c
b/arch/arm/mach-omap2/board-omap3beagle.c
index 22c483d5dfa829891fd8ec9ece81f35c94cf152b..1957426b96fe0f87006d18d0a7f3c80a0937929e 100644
(file)
--- a/
arch/arm/mach-omap2/board-omap3beagle.c
+++ b/
arch/arm/mach-omap2/board-omap3beagle.c
@@
-457,7
+457,7
@@
static int __init beagle_opp_init(void)
/* Initialize the omap3 opp table if not already created. */
r = omap3_opp_init();
- if (
IS_ERR_VALUE(r)
&& (r != -EEXIST)) {
+ if (
r < 0
&& (r != -EEXIST)) {
pr_err("%s: opp default init failed\n", __func__);
return r;
}