Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: power: Fix typo in Documentation/power

This patch fix spelling typos found in Documentation/power.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Masanari Iida and committed by
Jonathan Corbet
1f999d14 c0d7305c

+5 -5
+3 -3
Documentation/power/runtime_pm.txt
··· 229 229 - if set, the value of child_count is ignored (but still updated) 230 230 231 231 unsigned int disable_depth; 232 - - used for disabling the helper funcions (they work normally if this is 232 + - used for disabling the helper functions (they work normally if this is 233 233 equal to zero); the initial value of it is 1 (i.e. runtime PM is 234 234 initially disabled for all devices) 235 235 236 236 int runtime_error; 237 237 - if set, there was a fatal error (one of the callbacks returned error code 238 - as described in Section 2), so the helper funtions will not work until 238 + as described in Section 2), so the helper functions will not work until 239 239 this flag is cleared; this is the error code returned by the failing 240 240 callback 241 241 ··· 524 524 5. Runtime PM Initialization, Device Probing and Removal 525 525 526 526 Initially, the runtime PM is disabled for all devices, which means that the 527 - majority of the runtime PM helper funtions described in Section 4 will return 527 + majority of the runtime PM helper functions described in Section 4 will return 528 528 -EAGAIN until pm_runtime_enable() is called for the device. 529 529 530 530 In addition to that, the initial runtime PM status of all devices is
+1 -1
Documentation/power/suspend-and-interrupts.txt
··· 77 77 in a special way. Namely, the IRQ remains enabled, by on the first interrupt 78 78 it will be disabled, marked as pending and "suspended" so that it will be 79 79 re-enabled by resume_device_irqs() during the subsequent system resume. Also 80 - the PM core is notified about the event which casues the system suspend in 80 + the PM core is notified about the event which causes the system suspend in 81 81 progress to be aborted (that doesn't have to happen immediately, but at one 82 82 of the points where the suspend thread looks for pending wakeup events). 83 83
+1 -1
Documentation/power/userland-swsusp.txt
··· 99 99 The device's read() operation can be used to transfer the snapshot image from 100 100 the kernel. It has the following limitations: 101 101 - you cannot read() more than one virtual memory page at a time 102 - - read()s across page boundaries are impossible (ie. if ypu read() 1/2 of 102 + - read()s across page boundaries are impossible (ie. if you read() 1/2 of 103 103 a page in the previous call, you will only be able to read() 104 104 _at_ _most_ 1/2 of the page in the next call) 105 105