Skip to content

Commit

Permalink
PM: Fix typo in label name s/Platofrm_finish/Platform_finish/
Browse files Browse the repository at this point in the history
Although the same label name is used somewhere else in the file, this
particular label was consistently typoed in all of its uses.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and Rafael J. Wysocki committed Sep 14, 2009
1 parent ac8d513 commit e681c9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/power/hibernate.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,11 @@ int hibernation_platform_enter(void)

error = hibernation_ops->prepare();
if (error)
goto Platofrm_finish;
goto Platform_finish;

error = disable_nonboot_cpus();
if (error)
goto Platofrm_finish;
goto Platform_finish;

local_irq_disable();
sysdev_suspend(PMSG_HIBERNATE);
Expand All @@ -476,7 +476,7 @@ int hibernation_platform_enter(void)
* We don't need to reenable the nonboot CPUs or resume consoles, since
* the system is going to be halted anyway.
*/
Platofrm_finish:
Platform_finish:
hibernation_ops->finish();

dpm_suspend_noirq(PMSG_RESTORE);
Expand Down

0 comments on commit e681c9d

Please sign in to comment.