Commit 856ff77e authored by Dimitrios Semitsoglou-Tsiapos's avatar Dimitrios Semitsoglou-Tsiapos Committed by Greg Kroah-Hartman

staging: comedi: cb_pcidas64: Fixed coding style errors

Fixed a few coding style errors in cb_pcidas64.
Signed-off-by: default avatarDimitrios Semitsoglou-Tsiapos <dimitrios.semitsoglou@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bc04bec0
...@@ -1152,7 +1152,7 @@ static int eeprom_read_insn(struct comedi_device *dev, ...@@ -1152,7 +1152,7 @@ static int eeprom_read_insn(struct comedi_device *dev,
static void check_adc_timing(struct comedi_device *dev, struct comedi_cmd *cmd); static void check_adc_timing(struct comedi_device *dev, struct comedi_cmd *cmd);
static unsigned int get_divisor(unsigned int ns, unsigned int flags); static unsigned int get_divisor(unsigned int ns, unsigned int flags);
static void i2c_write(struct comedi_device *dev, unsigned int address, static void i2c_write(struct comedi_device *dev, unsigned int address,
const uint8_t * data, unsigned int length); const uint8_t *data, unsigned int length);
static void caldac_write(struct comedi_device *dev, unsigned int channel, static void caldac_write(struct comedi_device *dev, unsigned int channel,
unsigned int value); unsigned int value);
static int caldac_8800_write(struct comedi_device *dev, unsigned int address, static int caldac_8800_write(struct comedi_device *dev, unsigned int address,
...@@ -1229,7 +1229,7 @@ static unsigned int hw_revision(const struct comedi_device *dev, ...@@ -1229,7 +1229,7 @@ static unsigned int hw_revision(const struct comedi_device *dev,
} }
static void set_dac_range_bits(struct comedi_device *dev, static void set_dac_range_bits(struct comedi_device *dev,
volatile uint16_t * bits, unsigned int channel, volatile uint16_t *bits, unsigned int channel,
unsigned int range) unsigned int range)
{ {
unsigned int code = board(dev)->ao_range_code[range]; unsigned int code = board(dev)->ao_range_code[range];
...@@ -4190,7 +4190,7 @@ static void i2c_stop(struct comedi_device *dev) ...@@ -4190,7 +4190,7 @@ static void i2c_stop(struct comedi_device *dev)
} }
static void i2c_write(struct comedi_device *dev, unsigned int address, static void i2c_write(struct comedi_device *dev, unsigned int address,
const uint8_t * data, unsigned int length) const uint8_t *data, unsigned int length)
{ {
unsigned int i; unsigned int i;
uint8_t bitstream; uint8_t bitstream;
......
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