diff options
author | Laurent Navet <laurent.navet@gmail.com> | 2013-03-20 13:15:58 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-27 16:05:15 +0100 |
commit | 50e44430c6c1872a761c57161338dea069dc36db (patch) | |
tree | b468e96dc7915d8b3d9a62f16e11547a0e7fb6f3 /drivers/gpio/gpio-pca953x.c | |
parent | e83507b763541cbbdf5a9e047c69755fec52aed9 (diff) | |
download | blackbird-op-linux-50e44430c6c1872a761c57161338dea069dc36db.tar.gz blackbird-op-linux-50e44430c6c1872a761c57161338dea069dc36db.zip |
gpio: gpio-pca953x.c: fix checkpatch error
Fix :
gpio/gpio-pca953x.c:150: ERROR: else should follow close brace '}'
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pca953x.c')
-rw-r--r-- | drivers/gpio/gpio-pca953x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 24059462c87f..15dbc36340b8 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -146,8 +146,7 @@ static int pca953x_write_regs(struct pca953x_chip *chip, int reg, u8 *val) ret = i2c_smbus_write_i2c_block_data(chip->client, (reg << bank_shift) | REG_ADDR_AI, NBANK(chip), val); - } - else { + } else { switch (chip->chip_type) { case PCA953X_TYPE: ret = i2c_smbus_write_word_data(chip->client, |