diff options
Diffstat (limited to 'drivers/base/power/opp.c')
-rw-r--r-- | drivers/base/power/opp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index 25538675d59e..c539d70b97ab 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c | |||
@@ -734,11 +734,9 @@ int of_init_opp_table(struct device *dev) | |||
734 | unsigned long freq = be32_to_cpup(val++) * 1000; | 734 | unsigned long freq = be32_to_cpup(val++) * 1000; |
735 | unsigned long volt = be32_to_cpup(val++); | 735 | unsigned long volt = be32_to_cpup(val++); |
736 | 736 | ||
737 | if (dev_pm_opp_add(dev, freq, volt)) { | 737 | if (dev_pm_opp_add(dev, freq, volt)) |
738 | dev_warn(dev, "%s: Failed to add OPP %ld\n", | 738 | dev_warn(dev, "%s: Failed to add OPP %ld\n", |
739 | __func__, freq); | 739 | __func__, freq); |
740 | continue; | ||
741 | } | ||
742 | nr -= 2; | 740 | nr -= 2; |
743 | } | 741 | } |
744 | 742 | ||