Skip to content

Commit

Permalink
Staging: comedi: Fix cases of open curly on wrong line
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent c742740 commit f10fe57
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/staging/comedi/drivers/s626.c
Original file line number Diff line number Diff line change
Expand Up @@ -2431,8 +2431,7 @@ static uint8_t I2Cread(comedi_device *dev, uint8_t addr)
/* Byte2 = I2C command: write to I2C EEPROM device. */
| I2C_B1(I2C_ATTRSTOP, addr)
/* Byte1 = EEPROM internal target address. */
| I2C_B0(I2C_ATTRNOP, 0))) /* Byte0 = Not sent. */
{
| I2C_B0(I2C_ATTRNOP, 0))) { /* Byte0 = Not sent. */
/* Abort function and declare error if handshake failed. */
DEBUG("I2Cread: error handshake I2Cread a\n");
return 0;
Expand All @@ -2445,9 +2444,8 @@ static uint8_t I2Cread(comedi_device *dev, uint8_t addr)
| I2C_B1(I2C_ATTRSTOP, 0) /* Byte1 receives */
/* uint8_t from */
/* EEPROM. */
| I2C_B0(I2C_ATTRNOP, 0))) /* Byte0 = Not */
/* sent. */
{
| I2C_B0(I2C_ATTRNOP, 0))) { /* Byte0 = Not sent. */

/* Abort function and declare error if handshake failed. */
DEBUG("I2Cread: error handshake I2Cread b\n");
return 0;
Expand Down

0 comments on commit f10fe57

Please sign in to comment.