Skip to contentSkip to conversation

PM: remove trailing spaces and tabs

PATCH Applied Zhen Lei 2 participants 2 messages Jun 8, 2021 – Jun 11, 2021

Subsystems (2)
lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 PM: remove trailing spaces and tabs

Run the following command to find and remove the trailing spaces and tabs:

find kernel/power/ -type f | xargs sed -r -i 's/[ \t]+$//'

---
 kernel/power/Kconfig   | 12 ++++++------
 kernel/power/process.c |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)
kernel/power/Kconfig +6 -6
index 6bfe3ead10ad..a12779650f15 100644
@@ -98,20 +98,20 @@ config PM_STD_PARTITION
 	default ""
 	help
 	  The default resume partition is the partition that the suspend-
-	  to-disk implementation will look for a suspended disk image. 
+	  to-disk implementation will look for a suspended disk image.
 
-	  The partition specified here will be different for almost every user. 
+	  The partition specified here will be different for almost every user.
 	  It should be a valid swap partition (at least for now) that is turned
-	  on before suspending. 
+	  on before suspending.
 
 	  The partition specified can be overridden by specifying:
 
-		resume=/dev/<other device> 
+		resume=/dev/<other device>
 
-	  which will set the resume partition to the device specified. 
+	  which will set the resume partition to the device specified.
 
 	  Note there is currently not a way to specify which device to save the
-	  suspended image to. It will simply pick the first available swap 
+	  suspended image to. It will simply pick the first available swap
 	  device.
 
 config PM_SLEEP
kernel/power/process.c +1 -1
index 50cc63534486..37401c99b7d7 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * drivers/power/process.c - Functions for starting/stopping processes on 
+ * drivers/power/process.c - Functions for starting/stopping processes on
  *                           suspend transitions.
  *
  * Originally from swsusp.
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 47 lines · Zhen Lei

Run the following command to find and remove the trailing spaces and tabs:

find kernel/power/ -type f | xargs sed -r -i 's/[ \t]+$//'

---
 kernel/power/Kconfig   | 12 ++++++------
 kernel/power/process.c |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)
kernel/power/Kconfig +6 -6
index 6bfe3ead10ad..a12779650f15 100644
@@ -98,20 +98,20 @@ config PM_STD_PARTITION
        default ""
        help
          The default resume partition is the partition that the suspend-
-         to-disk implementation will look for a suspended disk image.
+         to-disk implementation will look for a suspended disk image.
 
-         The partition specified here will be different for almost every user.
+         The partition specified here will be different for almost every user.
          It should be a valid swap partition (at least for now) that is turned
-         on before suspending.
+         on before suspending.
 
          The partition specified can be overridden by specifying:
 
-               resume=/dev/<other device>
+               resume=/dev/<other device>
 
-         which will set the resume partition to the device specified.
+         which will set the resume partition to the device specified.
 
          Note there is currently not a way to specify which device to save the
-         suspended image to. It will simply pick the first available swap
+         suspended image to. It will simply pick the first available swap
          device.
 
 config PM_SLEEP
kernel/power/process.c +0 -0
index 50cc63534486..37401c99b7d7 100644

kernel/power/process.c

Quoted 8 lines
kernel/power/process.c +1 -2
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * drivers/power/process.c - Functions for starting/stopping processes on
+ * drivers/power/process.c - Functions for starting/stopping processes on
  *                           suspend transitions.
  *
  * Originally from swsusp.
--

Applied as 5.14 material, thanks!