diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-02-21 15:41:53 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-02-23 17:03:42 -0500 |
commit | 35bfa99e81f45079728f6b2ac553dabb0bc62c7d (patch) | |
tree | 68a39e8ac6048e93a9b129e2f80a146659f5de70 | |
parent | 09bb6e93956ae5175b96905b723ec879c3ca0765 (diff) |
PM / runtime: Fix some typos
Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | Documentation/power/runtime_pm.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt index 4870980e967e..64546eb9a16a 100644 --- a/Documentation/power/runtime_pm.txt +++ b/Documentation/power/runtime_pm.txt | |||
@@ -100,7 +100,7 @@ knows what to do to handle the device). | |||
100 | * If the suspend callback returns an error code different from -EBUSY and | 100 | * If the suspend callback returns an error code different from -EBUSY and |
101 | -EAGAIN, the PM core regards this as a fatal error and will refuse to run | 101 | -EAGAIN, the PM core regards this as a fatal error and will refuse to run |
102 | the helper functions described in Section 4 for the device until its status | 102 | the helper functions described in Section 4 for the device until its status |
103 | is directly set to either'active', or 'suspended' (the PM core provides | 103 | is directly set to either 'active', or 'suspended' (the PM core provides |
104 | special helper functions for this purpose). | 104 | special helper functions for this purpose). |
105 | 105 | ||
106 | In particular, if the driver requires remote wakeup capability (i.e. hardware | 106 | In particular, if the driver requires remote wakeup capability (i.e. hardware |
@@ -217,7 +217,7 @@ defined in include/linux/pm.h: | |||
217 | one to complete | 217 | one to complete |
218 | 218 | ||
219 | spinlock_t lock; | 219 | spinlock_t lock; |
220 | - lock used for synchronisation | 220 | - lock used for synchronization |
221 | 221 | ||
222 | atomic_t usage_count; | 222 | atomic_t usage_count; |
223 | - the usage counter of the device | 223 | - the usage counter of the device |
@@ -565,7 +565,7 @@ appropriate to ensure that the device is not put back to sleep during the | |||
565 | probe. This can happen with systems such as the network device layer. | 565 | probe. This can happen with systems such as the network device layer. |
566 | 566 | ||
567 | It may be desirable to suspend the device once ->probe() has finished. | 567 | It may be desirable to suspend the device once ->probe() has finished. |
568 | Therefore the driver core uses the asyncronous pm_request_idle() to submit a | 568 | Therefore the driver core uses the asynchronous pm_request_idle() to submit a |
569 | request to execute the subsystem-level idle callback for the device at that | 569 | request to execute the subsystem-level idle callback for the device at that |
570 | time. A driver that makes use of the runtime autosuspend feature, may want to | 570 | time. A driver that makes use of the runtime autosuspend feature, may want to |
571 | update the last busy mark before returning from ->probe(). | 571 | update the last busy mark before returning from ->probe(). |