staging: comedi: addi_eeprom: fix remaining checkpatch.pl issues
Fix the following checkpatch.pl issues: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line WARNING: line over 80 characters This file is now checkpatch.pl clean. 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>
This commit is contained in:
parent
24f78463d5
commit
14cb151d29
1 changed files with 3 additions and 2 deletions
|
@ -92,7 +92,7 @@ static unsigned short addi_eeprom_readw_93c76(unsigned long iobase,
|
||||||
unsigned short val = 0;
|
unsigned short val = 0;
|
||||||
unsigned int cmd;
|
unsigned int cmd;
|
||||||
unsigned int tmp;
|
unsigned int tmp;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Send EEPROM read command and offset to EEPROM */
|
/* Send EEPROM read command and offset to EEPROM */
|
||||||
cmd = EE93C76_READ_CMD | (addr / 2);
|
cmd = EE93C76_READ_CMD | (addr / 2);
|
||||||
|
@ -143,7 +143,8 @@ static unsigned short addi_eeprom_readw_nvram(unsigned long iobase,
|
||||||
/* Load the high 8 bit address */
|
/* Load the high 8 bit address */
|
||||||
outb(NVCMD_LOAD_HIGH, iobase + AMCC_OP_REG_MCSR_NVCMD);
|
outb(NVCMD_LOAD_HIGH, iobase + AMCC_OP_REG_MCSR_NVCMD);
|
||||||
addi_eeprom_nvram_wait(iobase);
|
addi_eeprom_nvram_wait(iobase);
|
||||||
outb(((addr + i) >> 8) & 0xff, iobase + AMCC_OP_REG_MCSR_NVDATA);
|
outb(((addr + i) >> 8) & 0xff,
|
||||||
|
iobase + AMCC_OP_REG_MCSR_NVDATA);
|
||||||
addi_eeprom_nvram_wait(iobase);
|
addi_eeprom_nvram_wait(iobase);
|
||||||
|
|
||||||
/* Read the eeprom data byte */
|
/* Read the eeprom data byte */
|
||||||
|
|
Loading…
Add table
Reference in a new issue