lkml.org 
[lkml]   [2011]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 07/18] Staging: cx25821: Fix wrong brace placement in cx25821-i2c.c
    Date
    Fix wrong brace placement in cx25821-i2c.c

    Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
    ---
    drivers/staging/cx25821/cx25821-i2c.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/staging/cx25821/cx25821-i2c.c b/drivers/staging/cx25821/cx25821-i2c.c
    index 130dfeb..ea5a878 100644
    --- a/drivers/staging/cx25821/cx25821-i2c.c
    +++ b/drivers/staging/cx25821/cx25821-i2c.c
    @@ -374,12 +374,12 @@ int cx25821_i2c_read(struct cx25821_i2c *bus, u16 reg_addr, int *value)
    .flags = 0,
    .len = 2,
    .buf = addr,
    - }, {
    + }, {
    .addr = client->addr,
    .flags = I2C_M_RD,
    .len = 4,
    .buf = buf,
    - }
    + }
    };

    addr[0] = (reg_addr >> 8);
    @@ -407,7 +407,7 @@ int cx25821_i2c_write(struct cx25821_i2c *bus, u16 reg_addr, int value)
    .flags = 0,
    .len = 6,
    .buf = buf,
    - }
    + }
    };

    buf[0] = reg_addr >> 8;
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2011-08-30 06:21    [W:0.020 / U:151.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site