* [PATCH 6/6] Staging: comedi: fix brace coding style issue in pcl818.c
[not found] <[PATCH]Staging: comedi:fix brace coding style issue in pcl818.c>
@ 2011-07-11 6:45 ` Ravishankar
0 siblings, 0 replies; only message in thread
From: Ravishankar @ 2011-07-11 6:45 UTC (permalink / raw)
To: gregkh, wfp5p; +Cc: devel, linux-kernel, Ravishankar, Ravishankar
From: Ravishankar <ravi.shankar@greenturtles.in>
This is a patch to the pcl818.c file that fixes up a brace warning found by the checkpatch.pl tool
Signed-off-by: Ravishankar <ravishankarkm32@gmail.com>
---
drivers/staging/comedi/drivers/pcl818.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c
index 241b16b..86b30c3 100644
--- a/drivers/staging/comedi/drivers/pcl818.c
+++ b/drivers/staging/comedi/drivers/pcl818.c
@@ -1301,10 +1301,9 @@ static void setup_channel_list(struct comedi_device *dev,
*/
static int check_single_ended(unsigned int port)
{
- if (inb (port + PCL818_STATUS) & 0x20)
+ if (inb(port + PCL818_STATUS) & 0x20)
return 1;
- else
- return 0;
+ return 0;
}
/*
--
1.6.5.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-11 6:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <[PATCH]Staging: comedi:fix brace coding style issue in pcl818.c>
2011-07-11 6:45 ` [PATCH 6/6] Staging: comedi: fix brace coding style issue in pcl818.c Ravishankar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®