login
Header Space

 
 

fix comments in sound/core.h (fwd)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>, Trivial patch monkey <trivial@...>
Cc: <tiwai@...>, kernel list <linux-kernel@...>, <perex@...>
Date: Tuesday, April 1, 2008 - 7:40 am

Do we have sound maintainers? Noone replies on trivial patches :-(.

							Pavel

----- Forwarded message from Pavel Machek <pavel@suse.cz> -----

From: Pavel Machek <pavel@suse.cz>
To: perex@perex.cz, kernel list <linux-kernel@vger.kernel.org>,
	Trivial patch monkey <trivial@kernel.org>, tiwai@suse.de
Subject: fix comments in sound/core.h
X-Warning: Reading this can be dangerous to your mental health.


Two sentences seem to be spliced into one in comment, fix that and fix
english. Also fix codingstyle.

Signed-off-by: Pavel Machek <pavel@suse.cz> 

diff --git a/include/sound/core.h b/include/sound/core.h
index 4fc0235..452000d 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -310,7 +310,7 @@ int snd_card_file_add(struct snd_card *c
 int snd_card_file_remove(struct snd_card *card, struct file *file);
 
 #ifndef snd_card_set_dev
-#define snd_card_set_dev(card,devptr) ((card)->dev = (devptr))
+#define snd_card_set_dev(card, devptr) ((card)->dev = (devptr))
 #endif
 
 /* device.c */
@@ -373,7 +373,7 @@ #ifdef CONFIG_SND_VERBOSE_PRINTK
  * snd_printd - debug printk
  * @fmt: format string
  *
- * Compiled only when Works like snd_printk() for debugging purpose.
+ * Works like snd_printk() for debugging purposes.
  * Ignored when CONFIG_SND_DEBUG is not set.
  */
 #define snd_printd(fmt, args...) \
@@ -417,7 +417,7 @@ #ifdef CONFIG_SND_DEBUG_DETECT
  * snd_printdd - debug printk
  * @format: format string
  *
- * Compiled only when Works like snd_printk() for debugging purpose.
+ * Works like snd_printk() for debugging purposes.
  * Ignored when CONFIG_SND_DEBUG_DETECT is not set.
  */
 #define snd_printdd(format, args...) snd_printk(format, ##args)

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


----- End forwarded message -----

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
fix comments in sound/core.h (fwd), Pavel Machek, (Tue Apr 1, 7:40 am)
Re: fix comments in sound/core.h (fwd), Jesper Juhl, (Mon Apr 21, 5:36 pm)
Re: fix comments in sound/core.h (fwd), Pavel Machek, (Mon Apr 21, 7:10 pm)
Re: fix comments in sound/core.h (fwd), Takashi Iwai, (Wed Apr 2, 6:20 am)
Re: fix comments in sound/core.h (fwd), Jaroslav Kysela, (Tue Apr 1, 8:34 am)
Re: fix comments in sound/core.h (fwd), Pavel Machek, (Tue Apr 1, 9:09 am)
speck-geostationary