staging: comedi: cb_pcidas64: Fixed coding style errors
Fixed a few coding style errors in cb_pcidas64. Signed-off-by: Dimitrios Semitsoglou-Tsiapos <dimitrios.semitsoglou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bc04bec0e0
commit
856ff77e33
@ -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,
|
|||||||
}
|
}
|
||||||
|
|
||||||
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)
|
|||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user