staging: comedi: ni_mio_common: Fix newline after dereference operator
authorVasily Utkin <vautkin@teknik.io>
Sat, 10 Oct 2020 17:07:22 +0000 (19:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Oct 2020 05:53:09 +0000 (06:53 +0100)
Fix newline after dereference operator detected by checkpatch.

Signed-off-by: Vasily Utkin <vautkin@teknik.io>
Link: https://lore.kernel.org/r/20201010170721.98595-1-vautkin@teknik.io
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c

index 9266e13..4f80a49 100644 (file)
@@ -723,8 +723,7 @@ 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],
+               ni_tio_set_mite_channel(&devpriv->counter_dev->counters[gpct_index],
                                        NULL);
                mite_release_channel(mite_chan);
        }