summaryrefslogtreecommitdiffstats
path: root/drivers/staging/cxt1e1
diff options
context:
space:
mode:
authorMichael Welling <mwelling@ieee.org>2014-03-23 11:17:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-18 15:58:31 -0700
commiteef74d4aaada31e7c39c10a03cb709238c3ba037 (patch)
tree676a81847c794e67358f6839dea6ab8a6a5fcbc1 /drivers/staging/cxt1e1
parent63809f5eeaf321dbb3abe326a72b706593c6c2f4 (diff)
downloadop-kernel-dev-eef74d4aaada31e7c39c10a03cb709238c3ba037.zip
op-kernel-dev-eef74d4aaada31e7c39c10a03cb709238c3ba037.tar.gz
STAGING: cxt1e1: More formatting fixes
Removes parens as are not necessary for return. Signed-off-by: Michael Welling <mwelling@ieee.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/cxt1e1')
-rw-r--r--drivers/staging/cxt1e1/pmc93x6_eeprom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/cxt1e1/pmc93x6_eeprom.c b/drivers/staging/cxt1e1/pmc93x6_eeprom.c
index d7d240a..6153499 100644
--- a/drivers/staging/cxt1e1/pmc93x6_eeprom.c
+++ b/drivers/staging/cxt1e1/pmc93x6_eeprom.c
@@ -334,7 +334,7 @@ static int pmc_eeprom_write(long addr, long mem_offset, u_int32_t data)
if (temp & EPROM_ACTIVE_IN_BIT) {
/* Remove Chip Select from EEPROM */
pci_write_32((u_int32_t *) addr, 0);
- return (1);
+ return 1;
}
}
count = 1000;
@@ -347,9 +347,9 @@ static int pmc_eeprom_write(long addr, long mem_offset, u_int32_t data)
}
if (count == -1)
- return (2);
+ return 2;
- return (0);
+ return 0;
}
/*------------------------------------------------------------------------
OpenPOWER on IntegriCloud