* [PATCH 1/1] Staging: comedi: fix line over 80 character issue in unioxx5.c
[not found] <[PATCH 1/1]Staging: comedi: fix line over 80 character issue in unioxx5.c>
@ 2011-09-02 7:34 ` Ravishankar K Mallikarjunayya
0 siblings, 0 replies; only message in thread
From: Ravishankar K Mallikarjunayya @ 2011-09-02 7:34 UTC (permalink / raw)
To: gregkh, wfp5p; +Cc: devel, linux-kernel, Ravishankar K Mallikarjunayya
This is a patch to the unioxx5.c file that fixes up a line over 80 character warning found by the checkpatch.pl tool
Signed-off-by: Ravishankar K Mallikarjunayya <ravishankar.km@greenturtles.in>
---
drivers/staging/comedi/drivers/unioxx5.c | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/comedi/drivers/unioxx5.c b/drivers/staging/comedi/drivers/unioxx5.c
index 89e62aa..fca7c2f 100644
--- a/drivers/staging/comedi/drivers/unioxx5.c
+++ b/drivers/staging/comedi/drivers/unioxx5.c
@@ -101,7 +101,10 @@ static int __unioxx5_digital_write(struct unioxx5_subd_priv *usp,
unsigned int *data, int channel, int minor);
static int __unioxx5_digital_read(struct unioxx5_subd_priv *usp,
unsigned int *data, int channel, int minor);
-/* static void __unioxx5_digital_config(struct unioxx5_subd_priv* usp, int mode); */
+/*
+ * static void __unioxx5_digital_config(struct unioxx5_subd_priv* usp,
+ * int mode);
+ */
static int __unioxx5_analog_write(struct unioxx5_subd_priv *usp,
unsigned int *data, int channel, int minor);
static int __unioxx5_analog_read(struct unioxx5_subd_priv *usp,
@@ -141,7 +144,10 @@ static int unioxx5_attach(struct comedi_device *dev,
dev->iobase = iobase;
iobase += UNIOXX5_SUBDEV_BASE;
- /* defining number of subdevices and getting they types (it must be 'g01') */
+ /*
+ * defining number of subdevices and getting they types
+ * (it must be 'g01')
+ */
for (i = n_subd = 0, ba = iobase; i < 4; i++, ba += UNIOXX5_SUBDEV_ODDS) {
id = inb(ba + 0xE);
num = inb(ba + 0xF);
@@ -409,7 +415,11 @@ static int __unioxx5_digital_read(struct unioxx5_subd_priv *usp,
*data &= mask;
if (channel_offset > 1)
- channel -= 2 << channel_offset; /* this operation is created for correct readed value to 0 or 1 */
+ /*
+ * this operation is created for correct readed
+ * value to 0 or 1
+ */
+ channel -= 2 << channel_offset;
*data >>= channel;
return 1;
}
--
1.6.5.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-02 7:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <[PATCH 1/1]Staging: comedi: fix line over 80 character issue in unioxx5.c>
2011-09-02 7:34 ` [PATCH 1/1] Staging: comedi: fix line over 80 character issue in unioxx5.c Ravishankar K Mallikarjunayya
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.