Skip to content

Commit 4e48e7b

Browse files
Malaya Kumar Routrafaeljw
authored andcommitted
PM: runtime: fix typos in runtime.c comments
Fix several typos in comments: - "timesptamp" -> "timestamp" - "involed" -> "involved" - "nonero" -> "nonzero" Fix typos in comments to improve code documentation clarity. Signed-off-by: Malaya Kumar Rout <mrout@redhat.com> Link: https://patch.msgid.link/20251026170527.262003-1-mrout@redhat.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent cea54f8 commit 4e48e7b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/base/power/runtime.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static void update_pm_runtime_accounting(struct device *dev)
9090
/*
9191
* Because ktime_get_mono_fast_ns() is not monotonic during
9292
* timekeeping updates, ensure that 'now' is after the last saved
93-
* timesptamp.
93+
* timestamp.
9494
*/
9595
if (now < last)
9696
return;
@@ -217,7 +217,7 @@ static int dev_memalloc_noio(struct device *dev, void *data)
217217
* resume/suspend callback of any one of its ancestors(or the
218218
* block device itself), the deadlock may be triggered inside the
219219
* memory allocation since it might not complete until the block
220-
* device becomes active and the involed page I/O finishes. The
220+
* device becomes active and the involved page I/O finishes. The
221221
* situation is pointed out first by Alan Stern. Network device
222222
* are involved in iSCSI kind of situation.
223223
*
@@ -1210,7 +1210,7 @@ EXPORT_SYMBOL_GPL(__pm_runtime_resume);
12101210
*
12111211
* Otherwise, if its runtime PM status is %RPM_ACTIVE and (1) @ign_usage_count
12121212
* is set, or (2) @dev is not ignoring children and its active child count is
1213-
* nonero, or (3) the runtime PM usage counter of @dev is not zero, increment
1213+
* nonzero, or (3) the runtime PM usage counter of @dev is not zero, increment
12141214
* the usage counter of @dev and return 1.
12151215
*
12161216
* Otherwise, return 0 without changing the usage counter.

0 commit comments

Comments
 (0)