]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/opp/core.c
Merge tag 'printk-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek...
[linux.git] / drivers / opp / core.c
index cdf918aaac34ad60a53bfae019e2b1ea6527a9de..2c2df4e4fc14db27e6d2f5f938ff6300e43e9412 100644 (file)
@@ -318,7 +318,7 @@ int dev_pm_opp_get_opp_count(struct device *dev)
                count = PTR_ERR(opp_table);
                dev_dbg(dev, "%s: OPP table not found (%d)\n",
                        __func__, count);
-               return 0;
+               return count;
        }
 
        count = _get_opp_count(opp_table);