diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-07-29 16:23:01 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-08-07 03:04:23 +0200 |
commit | 23dacf6d2e993551ef3ae0629baf6f473930513c (patch) | |
tree | fffea7fa07238b80fc700c512add403e8fdbd016 /drivers/block/drbd/drbd_interval.c | |
parent | aa5f2f854f03e6dc3dec8874bbcff1452b4bc09e (diff) |
PM / OPP: Break _opp_add_dynamic() into smaller functions
Later commits would add support for new OPP bindings and this would be
required then. So, lets do it in a separate patch to make it easily
reviewable.
Another change worth noticing is INIT_LIST_HEAD(&opp->node). We weren't
doing it earlier as we never tried to delete a list node before it is
added to list. But this wouldn't be the case anymore. We might try to
delete a node (just to reuse the same code paths), without it being
getting added to the list.
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
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>
Diffstat (limited to 'drivers/block/drbd/drbd_interval.c')
0 files changed, 0 insertions, 0 deletions