OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Nov 2017 14:53:12 +0000 (15:53 +0100)
commita276210915d50a4bc3f4cdef19cf7ced15b78a52
tree95ded988cb17c2932ccf044d616f342b6d256cb1
parent7422c5813a9d8b78d95091ac69c9a51111c17a43
PM / OPP: Error out on failing to add static OPPs for v1 bindings

[ Upstream commit 04a86a84c42ca18f37ab446127dc619b41dd3b23 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/power/opp/of.c