projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e83507b
)
gpio: gpio-pca953x.c: fix checkpatch error
author
Laurent Navet
<laurent.navet@gmail.com>
Wed, 20 Mar 2013 12:15:58 +0000
(13:15 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:15 +0000
(16:05 +0100)
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>
drivers/gpio/gpio-pca953x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-pca953x.c
b/drivers/gpio/gpio-pca953x.c
index 24059462c87fb23f6481304ae8d1bf819c2785e4..15dbc36340b8aecd263022c2b93b71ae0569933a 100644
(file)
--- 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,