Przeglądaj źródła

PM / Hibernate: Fix typo in a kerneldoc comment

Fix a typo in a function name in the kerneldoc comment next to
resume_target_kernel().

[rjw: Changed the subject slightly, added the changelog.]

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Barry Song 13 lat temu
rodzic
commit
21e82808fc
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      kernel/power/hibernate.c

+ 1 - 1
kernel/power/hibernate.c

@@ -467,7 +467,7 @@ static int resume_target_kernel(bool platform_mode)
  * @platform_mode: If set, use platform driver to prepare for the transition.
  *
  * This routine must be called with pm_mutex held.  If it is successful, control
- * reappears in the restored target kernel in hibernation_snaphot().
+ * reappears in the restored target kernel in hibernation_snapshot().
  */
 int hibernation_restore(int platform_mode)
 {