Skip to contentSkip to conversation

Kernel: Power: main.c: Cleaned up a comment block

PATCH NAK Philippe Loctaux 2 participants 2 messages Mar 7, 2016 – Mar 8, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kernel: Power: main.c: Cleaned up a comment block

Removed a * in the beginning of the block, and removed an unnecessary space.

---
 kernel/power/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/power/main.c +2 -2
index 2794697..d7386cb 100644
@@ -288,11 +288,11 @@ static inline void pm_print_times_init(void) {}
 
 struct kobject *power_kobj;
 
-/**
+/*
  * state - control system sleep states.
  *
  * show() returns available sleep state labels, which may be "mem", "standby",
- * "freeze" and "disk" (hibernation).  See Documentation/power/states.txt for a
+ * "freeze" and "disk" (hibernation). See Documentation/power/states.txt for a
  * description of what they mean.
  *
  * store() accepts one of those strings, translates it into the proper
Signature · 1 line
2.7.2
#1 lore raw
Quoted 3 lines · Philippe Loctaux

Removed a * in the beginning of the block, and removed an unnecessary space.

NAK.

Google kerneldoc, people actually like two spaces after ., and you should not be changing whitespace unless you update code, anyway.
Pavel

Quoted 22 lines
---
 kernel/power/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/power/main.c +2 -2
index 2794697..d7386cb 100644
@@ -288,11 +288,11 @@ static inline void pm_print_times_init(void) {}
 
 struct kobject *power_kobj;
 
-/**
+/*
  * state - control system sleep states.
  *
  * show() returns available sleep state labels, which may be "mem", "standby",
- * "freeze" and "disk" (hibernation).  See Documentation/power/states.txt for a
+ * "freeze" and "disk" (hibernation). See Documentation/power/states.txt for a
  * description of what they mean.
  *
  * store() accepts one of those strings, translates it into the proper
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html