summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-10-29 17:09:54 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-30 10:50:15 -0700
commit14cb151d29fa0fc0ebe22f01876a4408657a0ac3 (patch)
tree2ea11895e5c89c43da1fdcbbdeee77019ec27744 /drivers
parent24f78463d58993764faba60ac22a9a637b40e746 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/addi-data/addi_eeprom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/addi-data/addi_eeprom.c b/drivers/staging/comedi/drivers/addi-data/addi_eeprom.c
index 95a1974abce..68b85e2925c 100644
--- a/drivers/staging/comedi/drivers/addi-data/addi_eeprom.c
+++ b/drivers/staging/comedi/drivers/addi-data/addi_eeprom.c
@@ -92,7 +92,7 @@ static unsigned short addi_eeprom_readw_93c76(unsigned long iobase,
unsigned short val = 0;
unsigned int cmd;
unsigned int tmp;
- int i;
+ int i;
/* Send EEPROM read command and offset to EEPROM */
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 */
outb(NVCMD_LOAD_HIGH, iobase + AMCC_OP_REG_MCSR_NVCMD);
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);
/* Read the eeprom data byte */