Skip to content

Commit e681c9d

Browse files
Thadeu Lima de Souza Cascardorjwysocki
authored andcommitted
PM: Fix typo in label name s/Platofrm_finish/Platform_finish/
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>
1 parent ac8d513 commit e681c9d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎kernel/power/hibernate.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,11 @@ int hibernation_platform_enter(void)
460460

461461
error = hibernation_ops->prepare();
462462
if (error)
463-
goto Platofrm_finish;
463+
goto Platform_finish;
464464

465465
error = disable_nonboot_cpus();
466466
if (error)
467-
goto Platofrm_finish;
467+
goto Platform_finish;
468468

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

482482
dpm_suspend_noirq(PMSG_RESTORE);

0 commit comments

Comments
 (0)