[PATCH 3/4] staging: comedi: Correct multiline dereference as per TODO
From: Ray Clinton
Date: Thu Aug 30 2018 - 13:32:27 EST
Using checkpatch.pl I was able to find a multiline dereference which goes
again the coding style for the kernel. I'm still working on my email client so
the indentation looks bad here (in gmail) but the arguments for
ni_tio_set_mite_channel should go just under the opening (
Signed-off-by: Ray Clinton <mr.ray.clinton@xxxxxxxxx>
---
drivers/staging/comedi/drivers/ni_mio_common.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c
b/drivers/staging/comedi/drivers/ni_mio_common.c
index 4dee2fc..5de3a20 100644
--- a/drivers/staging/comedi/drivers/ni_mio_common.c
+++ b/drivers/staging/comedi/drivers/ni_mio_common.c
@@ -723,9 +723,9 @@ static void ni_release_gpct_mite_channel(struct
comedi_device *dev,
ni_set_bitfield(dev, NI_E_DMA_G0_G1_SEL_REG,
NI_E_DMA_G0_G1_SEL_MASK(gpct_index), 0);
- ni_tio_set_mite_channel(&devpriv->
- counter_dev->counters[gpct_index],
- NULL);
+ ni_tio_set_mite_channel(
+ &devpriv->counter_dev->counters[gpct_index],
+ NULL);
mite_release_channel(mite_chan);
}
spin_unlock_irqrestore(&devpriv->mite_channel_lock, flags);
--
2.7.4