From: Viresh Kumar Date: Wed, 29 Jul 2015 10:53:01 +0000 (+0530) Subject: PM / OPP: Break _opp_add_dynamic() into smaller functions X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~3^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23dacf6d2e993551ef3ae0629baf6f473930513c;p=pandora-kernel.git 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 Signed-off-by: Viresh Kumar Reviewed-by: Stephen Boyd Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed