From: Viresh Kumar Date: Wed, 9 Sep 2015 11:28:22 +0000 (+0530) Subject: PM / OPP: Return suspend_opp only if it is enabled X-Git-Tag: omap-for-v4.3/fixes-rc1~23^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b2b90cbea00670221f062814dc8bcecb3af7b90;p=pandora-kernel.git PM / OPP: Return suspend_opp only if it is enabled There is no point returning suspend_opp, if it is disabled by the core. As we can't use it at all. Fix it. Fixes: 4eafbd15b6c8 ("PM / OPP: add dev_pm_opp_get_suspend_opp() helper") Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed