]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/arm/mach-omap2/board-omap3beagle.c
Merge commit '31d9adca82ce65e5c99d045b5fd917c702b6fce3' into tmp
[mirror_ubuntu-zesty-kernel.git] / arch / arm / mach-omap2 / board-omap3beagle.c
index c3558f93d42c4a3d52f705573be61e156ff59669..6c949bc862565a66abe51393d58f9f81a9b3c424 100644 (file)
@@ -479,7 +479,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;
        }