]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: cb_pcidas64: checkpatch.pl cleanup (missing blank line)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:01:53 +0000 (11:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:18 +0000 (13:37 -0700)
Fix this checkpatch.pl warning:

WARNING: Missing a blank line after declarations

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcidas64.c

index f296cbc41094fe5ce528855a81eb90a3b18847f3..171342a9197faf54d2a7b306f0b80e83e73f0c9e 100644 (file)
@@ -1769,6 +1769,7 @@ static int ai_rinsn(struct comedi_device *dev, struct comedi_subdevice *s,
                 *  as it is very slow */
                if (old_cal_range_bits != devpriv->i2c_cal_range_bits) {
                        uint8_t i2c_data = devpriv->i2c_cal_range_bits;
+
                        i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data,
                                  sizeof(i2c_data));
                }
@@ -2446,6 +2447,7 @@ static int setup_channel_queue(struct comedi_device *dev,
                 *  as it is very slow */
                if (old_cal_range_bits != devpriv->i2c_cal_range_bits) {
                        uint8_t i2c_data = devpriv->i2c_cal_range_bits;
+
                        i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data,
                                  sizeof(i2c_data));
                }
@@ -3373,6 +3375,7 @@ static int ao_cancel(struct comedi_device *dev, struct comedi_subdevice *s)
 static int dio_callback(int dir, int port, int data, unsigned long arg)
 {
        void __iomem *iobase = (void __iomem *)arg;
+
        if (dir) {
                writeb(data, iobase + port);
                return 0;
@@ -3383,6 +3386,7 @@ static int dio_callback(int dir, int port, int data, unsigned long arg)
 static int dio_callback_4020(int dir, int port, int data, unsigned long arg)
 {
        void __iomem *iobase = (void __iomem *)arg;
+
        if (dir) {
                writew(data, iobase + 2 * port);
                return 0;