PM / Domains: Fix pm_genpd_poweron()
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 5 Aug 2011 19:45:11 +0000 (21:45 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 5 Aug 2011 19:45:11 +0000 (21:45 +0200)
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>

No differences found