PM / OPP: Error out on failing to add static OPPs for v1 bindings
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 2 Jan 2017 09:10:58 +0000 (14:40 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 27 Jan 2017 10:49:09 +0000 (11:49 +0100)
commit04a86a84c42ca18f37ab446127dc619b41dd3b23
tree3e05fac7e9c9df84c1f03d32a59b82373384151c
parent63a69ea4b88f37bda3bb13c4fb417a3218902022
PM / OPP: Error out on failing to add static OPPs for v1 bindings

The code adding static OPPs for V2 bindings already does so. Make the V1
bindings specific code behave the same.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/of.c