linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Staging: comedi: Moved some EXPORT_SYMBOL() macros
@ 2010-05-03  9:39 Mark
  2010-05-03 19:02 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Mark @ 2010-05-03  9:39 UTC (permalink / raw)
  To: gregkh, wfp5p, john.d.sheehan, mithlesh; +Cc: devel, linux-kernel, Mark

This is a patch to range.c that rearranges some EXPORT_SYMBOL() macros to please
checkpatch.pl

Signed-off-by: Mark Rankilor <reodge@gmail.com>
---
 drivers/staging/comedi/range.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c
index 6b03a69..8a1cefd 100644
--- a/drivers/staging/comedi/range.c
+++ b/drivers/staging/comedi/range.c
@@ -25,16 +25,16 @@
 #include <linux/uaccess.h>
 
 const struct comedi_lrange range_bipolar10 = { 1, {BIP_RANGE(10)} };
-const struct comedi_lrange range_bipolar5 = { 1, {BIP_RANGE(5)} };
-const struct comedi_lrange range_bipolar2_5 = { 1, {BIP_RANGE(2.5)} };
-const struct comedi_lrange range_unipolar10 = { 1, {UNI_RANGE(10)} };
-const struct comedi_lrange range_unipolar5 = { 1, {UNI_RANGE(5)} };
-const struct comedi_lrange range_unknown = { 1, {{0, 1000000, UNIT_none} } };
 EXPORT_SYMBOL(range_bipolar10);
+const struct comedi_lrange range_bipolar5 = { 1, {BIP_RANGE(5)} };
 EXPORT_SYMBOL(range_bipolar5);
+const struct comedi_lrange range_bipolar2_5 = { 1, {BIP_RANGE(2.5)} };
 EXPORT_SYMBOL(range_bipolar2_5);
+const struct comedi_lrange range_unipolar10 = { 1, {UNI_RANGE(10)} };
 EXPORT_SYMBOL(range_unipolar10);
+const struct comedi_lrange range_unipolar5 = { 1, {UNI_RANGE(5)} };
 EXPORT_SYMBOL(range_unipolar5);
+const struct comedi_lrange range_unknown = { 1, {{0, 1000000, UNIT_none} } };
 EXPORT_SYMBOL(range_unknown);
 
 /*
-- 
1.7.0.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Staging: comedi: Moved some EXPORT_SYMBOL() macros
  2010-05-03  9:39 [PATCH] Staging: comedi: Moved some EXPORT_SYMBOL() macros Mark
@ 2010-05-03 19:02 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-05-03 19:02 UTC (permalink / raw)
  To: Mark Rankilor
  Cc: gregkh, wfp5p, john.d.sheehan, mithlesh, devel, linux-kernel

On Mon, May 03, 2010 at 05:39:09PM +0800, Mark Rankilor wrote:
> This is a patch to range.c that rearranges some EXPORT_SYMBOL() macros to please
> checkpatch.pl
> 
> Signed-off-by: Mark Rankilor <reodge@gmail.com>

Heh, I didn't make this change, as I thought it was "ugly", but it makes
sense to apply this patch to keep the tool quiet :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-03 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03  9:39 [PATCH] Staging: comedi: Moved some EXPORT_SYMBOL() macros Mark
2010-05-03 19:02 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).