Commit 43358ed0 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: cb_pcidas64: checkpatch.pl cleanup (missing blank line)

Fix this checkpatch.pl warning:

WARNING: Missing a blank line after declarations
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0a9e58d6
...@@ -1769,6 +1769,7 @@ static int ai_rinsn(struct comedi_device *dev, struct comedi_subdevice *s, ...@@ -1769,6 +1769,7 @@ static int ai_rinsn(struct comedi_device *dev, struct comedi_subdevice *s,
* as it is very slow */ * as it is very slow */
if (old_cal_range_bits != devpriv->i2c_cal_range_bits) { if (old_cal_range_bits != devpriv->i2c_cal_range_bits) {
uint8_t i2c_data = devpriv->i2c_cal_range_bits; uint8_t i2c_data = devpriv->i2c_cal_range_bits;
i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data, i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data,
sizeof(i2c_data)); sizeof(i2c_data));
} }
...@@ -2446,6 +2447,7 @@ static int setup_channel_queue(struct comedi_device *dev, ...@@ -2446,6 +2447,7 @@ static int setup_channel_queue(struct comedi_device *dev,
* as it is very slow */ * as it is very slow */
if (old_cal_range_bits != devpriv->i2c_cal_range_bits) { if (old_cal_range_bits != devpriv->i2c_cal_range_bits) {
uint8_t i2c_data = devpriv->i2c_cal_range_bits; uint8_t i2c_data = devpriv->i2c_cal_range_bits;
i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data, i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data,
sizeof(i2c_data)); sizeof(i2c_data));
} }
...@@ -3373,6 +3375,7 @@ static int ao_cancel(struct comedi_device *dev, struct comedi_subdevice *s) ...@@ -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) static int dio_callback(int dir, int port, int data, unsigned long arg)
{ {
void __iomem *iobase = (void __iomem *)arg; void __iomem *iobase = (void __iomem *)arg;
if (dir) { if (dir) {
writeb(data, iobase + port); writeb(data, iobase + port);
return 0; return 0;
...@@ -3383,6 +3386,7 @@ static int dio_callback(int dir, int port, int data, unsigned long arg) ...@@ -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) static int dio_callback_4020(int dir, int port, int data, unsigned long arg)
{ {
void __iomem *iobase = (void __iomem *)arg; void __iomem *iobase = (void __iomem *)arg;
if (dir) { if (dir) {
writew(data, iobase + 2 * port); writew(data, iobase + 2 * port);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment