diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-08-05 21:45:11 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-08-05 21:45:11 +0200 |
commit | fe202fde50a986a8510c62a76dc8733c1a8fac86 (patch) | |
tree | 055cb487668446bcf184650039ac8a12268a6b81 /Documentation/power | |
parent | Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/air... (diff) | |
download | linux-fe202fde50a986a8510c62a76dc8733c1a8fac86.tar.xz linux-fe202fde50a986a8510c62a76dc8733c1a8fac86.zip |
PM / Domains: Fix pm_genpd_poweron()
The local variable ret is defined twice in pm_genpd_poweron(), which
causes this function to always return 0, even if the PM domain's
.power_on() callback fails, in which case an error code should be
returned.
Remove the wrong second definition of ret and additionally remove an
unnecessary definition of wait from pm_genpd_poweron().
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions