@@ -426,12 +426,12 @@ pm->runtime_idle() callback.
4264262.4. System-Wide Power Transitions
427427----------------------------------
428428There are a few different types of system-wide power transitions, described in
429- Documentation/driver-api/pm/devices.rst. Each of them requires devices to be handled
430- in a specific way and the PM core executes subsystem-level power management
431- callbacks for this purpose. They are executed in phases such that each phase
432- involves executing the same subsystem-level callback for every device belonging
433- to the given subsystem before the next phase begins. These phases always run
434- after tasks have been frozen.
429+ Documentation/driver-api/pm/devices.rst. Each of them requires devices to be
430+ handled in a specific way and the PM core executes subsystem-level power
431+ management callbacks for this purpose. They are executed in phases such that
432+ each phase involves executing the same subsystem-level callback for every device
433+ belonging to the given subsystem before the next phase begins. These phases
434+ always run after tasks have been frozen.
435435
4364362.4.1. System Suspend
437437^^^^^^^^^^^^^^^^^^^^^
@@ -636,12 +636,12 @@ System restore requires a hibernation image to be loaded into memory and the
636636pre-hibernation memory contents to be restored before the pre-hibernation system
637637activity can be resumed.
638638
639- As described in Documentation/driver-api/pm/devices.rst, the hibernation image is loaded
640- into memory by a fresh instance of the kernel, called the boot kernel, which in
641- turn is loaded and run by a boot loader in the usual way. After the boot kernel
642- has loaded the image, it needs to replace its own code and data with the code
643- and data of the "hibernated" kernel stored within the image, called the image
644- kernel. For this purpose all devices are frozen just like before creating
639+ As described in Documentation/driver-api/pm/devices.rst, the hibernation image
640+ is loaded into memory by a fresh instance of the kernel, called the boot kernel,
641+ which in turn is loaded and run by a boot loader in the usual way. After the
642+ boot kernel has loaded the image, it needs to replace its own code and data with
643+ the code and data of the "hibernated" kernel stored within the image, called the
644+ image kernel. For this purpose all devices are frozen just like before creating
645645the image during hibernation, in the
646646
647647 prepare, freeze, freeze_noirq
@@ -691,8 +691,8 @@ controlling the runtime power management of their devices.
691691
692692At the time of this writing there are two ways to define power management
693693callbacks for a PCI device driver, the recommended one, based on using a
694- dev_pm_ops structure described in Documentation/driver-api/pm/devices.rst, and the
695- "legacy" one, in which the .suspend(), .suspend_late(), .resume_early(), and
694+ dev_pm_ops structure described in Documentation/driver-api/pm/devices.rst, and
695+ the "legacy" one, in which the .suspend(), .suspend_late(), .resume_early(), and
696696.resume() callbacks from struct pci_driver are used. The legacy approach,
697697however, doesn't allow one to define runtime power management callbacks and is
698698not really suitable for any new drivers. Therefore it is not covered by this
0 commit comments