From: Viresh Kumar Date: Wed, 29 Jul 2015 10:53:00 +0000 (+0530) Subject: PM / OPP: Allocate dev_opp from _add_device_opp() X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~3^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5f2f854f03e6dc3dec8874bbcff1452b4bc09e;p=pandora-kernel.git PM / OPP: Allocate dev_opp from _add_device_opp() There is no need to complicate _opp_add_dynamic() with allocation of dev_opp as well. Allocate it from _add_device_opp() instead. Reviewed-by: Stephen Boyd Reviewed-by: Bartlomiej Zolnierkiewicz Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed