]> git.baikalelectronics.ru Git - kernel.git/commit
PM / OPP: do error handling at the bottom of dev_pm_opp_add_dynamic()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 10 Dec 2014 04:15:35 +0000 (09:45 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Dec 2014 21:18:34 +0000 (22:18 +0100)
commitd0c05e531ba8b55bf59f557c07a985a698cb9dec
tree986a1cb3efce104afd0cc80d9a1c151a3e6a7845
parent7ced7b852fc324efc56cfec02ab742238213440d
PM / OPP: do error handling at the bottom of dev_pm_opp_add_dynamic()

This makes it less error prone and moves common resource deallocation at a
single place.

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